StopPlayerObject

From SA-MP Wiki

Jump to: navigation, search

StopPlayerObject


Use this function to stop a moving object, for example after using MoveObject. To move a object in one time, use SetObjectPosition.


Parameters:
(playerid, objectid)
playeridThe player you associated this object to.
objectidThe objectid of the object you want to stop moving.


This function does not return a specific value, it's best to simply ignore it.


StopPlayerObject(playerid, objectid);

Related Functions

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


Personal tools