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.
UseToyByName(name)
Arguments[]
- name
- string - (localized?) name of a toy.
Example[]
if PlayerHasToy(92738) then UseToyByName('Safari Hat'); end
See Also[]
UseToy()