From 667948229428b172d6762bd136ed56ed40ea0703 Mon Sep 17 00:00:00 2001
From: itsneufox <156133096+itsneufox@users.noreply.github.com>
Date: Mon, 1 Dec 2025 22:03:03 +0000
Subject: [PATCH] add NPC_GetPosMovingTo and NPC_GetCustomSkin
---
omp_npc.inc | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/omp_npc.inc b/omp_npc.inc
index a74da1b..5eb92d8 100644
--- a/omp_npc.inc
+++ b/omp_npc.inc
@@ -385,6 +385,20 @@ native NPC_SetVelocity(npcid, Float:x, Float:y, Float:z);
*/
native NPC_GetVelocity(npcid, &Float:x, &Float:y, &Float:z);
+/**
+ * omp_npc
+ * Gets the position that the NPC is currently moving toward.
+ * The ID of the NPC
+ * Variable to store the X coordinate of the target position, passed by reference
+ * Variable to store the Y coordinate of the target position, passed by reference
+ * Variable to store the Z coordinate of the target position, passed by reference
+ * Returns true on success, false on failure.
+ *
+ *
+ *
+ */
+native NPC_GetPosMovingTo(npcid, &Float:x, &Float:y, &Float:z);
+
/*
native # Appearance();
native Appearance(
@@ -407,6 +421,16 @@ native NPC_SetSkin(npcid, skinid);
*/
native NPC_GetSkin(npcid);
+/**
+ * omp_npc
+ * Gets the custom skin ID of an NPC.
+ * The ID of the NPC
+ * Returns the custom skin ID of the NPC, or -1 if the NPC has no custom skin or is invalid.
+ *
+ *
+ */
+native NPC_GetCustomSkin(npcid);
+
/**
* omp_npc
*/