warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
StopPlayerHoldingObject
Description
Removes attached objects.
Name | Description |
---|---|
playerid | ID of the player you want to remove the object from. |
Returns
1 on success, 0 on failure
Examples
public OnPlayerDeath(playerid, killerid, WEAPON:reason)
{
if (IsPlayerHoldingObject(playerid))
{
StopPlayerHoldingObject(playerid);
}
return 1;
}
Notes
warning
This function was removed in SA-MP 0.3c. See RemovePlayerAttachedObject
Related Functions
- SetPlayerHoldingObject: Attaches an object to a bone.