warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for 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.