note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
GetMyPos
Description
Get the position of the NPC.
Name | Description |
---|---|
&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. |
Returns
This function does not return any specific values.
Example
new Float:x, Float:y, Float:z;
GetMyPos(x,y,z);
printf("I am currently at %f, %f, %f!",x,y,z);
Related Functions
- SetMyPos: Set the NPC's current position.