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 */