NPC:SetMyPos

From SA-MP Wiki

Jump to: navigation, search

NPC:SetMyPos


Warning: This function was added in SA-MP version 0.3. It is not available in previous versions.


Set the position of the NPC

Parameters:
(Float:x, Float:y, Float:z)
Float:xThe X coordinate of where you want the NPC to be.
Float:yThe Y coordinate of where you want the NPC to be.
Float:zThe Z coordinate of where you want the NPC to be.


This function does not return a specific value.


Example:

SetMyPos(0.0,0.0,10.0);

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools