![]() |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Determines if player has a specific toy in their toybox
hasToy = PlayerHasToy(itemId)
Arguments
- itemId
- number - itemId of a toy.
Returns
Returns true if player has itemId in their toybox, false if not.
Example
if PlayerHasToy(92738) then print('Remember to wear your Safari Hat!'); end
