DestroyPlayerObject

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:02, 28 April 2012
Smithy (Talk | contribs)

← Previous diff
Revision as of 01:44, 1 February 2014
Connor Mead (Talk | contribs)

Next diff →
Line 41: Line 41:
[[Category:Scripting Functions]] [[Category:Scripting Functions]]
 +
 +[[fr:DestroyPlayerObject]]

Revision as of 01:44, 1 February 2014




Description:

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).


Return Values:

This function does not return any specific values.


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.


In other languages