function
giveItem (server-side)
Available since version: 0.0.1
This function is used to give item for player.
Declaration
void giveItem(int id, string instance, int amount)
Parameters
int
id: the player id.string
instance: the item instance from Daedalus scripts.int
amount: the amount of item, e.g:1000
gold coins.