function
useItem (client-side)
Available since version: 0.1.9
This function will try to use, interact, open item by player/npc.
Declaration
void useItem(int id, string instance)
Parameters
int
id: the player id.string
instance: the item instance from Daedalus scripts.