NPC:SetMyPos

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 10:37, 23 January 2014
Smithy (Talk | contribs)

← Previous diff
Current revision
OstGot (Talk | contribs)

Line 12: Line 12:
{{NoReturn}} {{NoReturn}}
-'''Example:'''+{{Example}}
<pawn> <pawn>
SetMyPos(0.0, 0.0, 3.0); SetMyPos(0.0, 0.0, 3.0);

Current revision



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