NPC:GetMyPos

NPC:GetMyPos

Description:
Function NPC:GetMyPos get the current location of the NPC.
Function NPC:GetMyPos was added in 0.3a and will not work in earlier versions!


Parameters:
(&Float:x, &Float:y, &Float:z)
float X A float to save the X coordinate, passed by reference.
float Y A float to save the Y coordinate, passed by reference.
float Z A float to save the Z coordinate, passed by reference.


Return Values:
This function does not return any specific values.


Examples:
new Float:x, Float:y, Float:z;
GetMyPos(x,y,z);
printf("I am currently at %f, %f, %f!",x,y,z);


Related Functions
The following functions may be useful, as they are related to this function in one way or another.