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
[edit]
Related Functions
The following functions may be helpful as they relate to this function in one way or another.
SetPlayerHoldingObject - Attaches an object to a bone.
StopPlayerHoldingObject - Removes the attached object.