DestroyPlayerObject

From SA-MP Wiki

Jump to: navigation, search


Destroy a player-object.


Parameters:
(playerid, objectid)
playeridThe ID of the player the object is associated to.
objectidThe ID of the player-object to delete (returned by CreatePlayerObject).


ReturnsThis function doesn't return a specific value


public OnPlayerObjectMoved(playerid, objectid)
{
    DestroyPlayerObject(playerid, objectid);
    return 1;
}

Related Functions

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


Personal tools