NPC:SetMyPos

From SA-MP Wiki

Jump to: navigation, search


NPC:SetMyPos was added in SA-MP 0.3a This function was added in SA-MP 0.3a and will not work in earlier versions!


Description:

Set the position of the NPC.


Parameters:
(Float:x, Float:y, Float:z)
Float:xThe X coordinate to put the NPC at.
Float:yThe Y coordinate to put the NPC at.
Float:zThe Z coordinate to put the NPC at.


Return Values:

This function does not return any specific values.


Example Usage:

SetMyPos(0.0, 0.0, 3.0);

Related Functions

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

Personal tools
Navigation
Toolbox