function useItem (server-side)
Available since version: 0.2
This function will try to use, interact, open item by player.
void useItem(int id, int itemId, int state = 0)
intid: the player id.
intitemId: the item id that you want to interact with.
intstate: the state that you'll start from interacting with item, default is