hi,
i have one diff to use @restock but when i compile i got some errors
diff:
void pc_restock_getstorage(struct map_session_data *sd, int itemid, int amount)
{
int i;
for( i = 0; i < MAX_STORAGE; i++ )
{
if (sd->status.storage.items[i].nameid == itemid)
{...