Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
This function is restricted.
|
Use a toy in player's toybox.
UseToy(itemId)
Arguments[]
- itemId
- number - itemId of a toy.
Example[]
if PlayerHasToy(92738) then UseToy(92738); end
See Also[]
UseToyByName()