GetMyPos

From NPC for VCMP 0.4 Servers
Revision as of 14:48, 7 January 2023 by Habi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
Gets the position of an NPC


Parameters:

NoParams


Return Values:
The position of the NPC as a Vector and null on failure.


Example

local p=GetMyPos();
print("My position co-ordinates are "+p);

Related Functions

The following functions may be helpful as they relate to this function in one way or another.