IsPlayerHoldingObject
From SA-MP Wiki
Warning | This function was removed in SA-MP 0.3c. Use IsPlayerAttachedObjectSlotUsed instead. |
Description:
Check if the player is holding an object.
(playerid)
playerid | ID of the player |
Return Values:
false if player is not holding an object, true if they are
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
SetPlayerHoldingObject - Attaches an object to a bone.
StopPlayerHoldingObject - Removes the attached object.