API UseToyByName

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