function
unequipItem (server-side)
Available since version: 0.0.4
Note
If you want to unequip weapon/shield, first make sure that player is in WEAPONMODE_NONE
.
This function is used to unequip item from player for all players.
Declaration
void unequipItem(int id, string instance)
Parameters
int
id: the player id.string
instance: the item instance from Daedalus scripts.