13.04.2015, 13:55
So, something like this?
PHP код:
OnPlayerPickupItem(playerid,ItemName[])
{
if(!strcmp(ItemName,"Cookie",true))
{
pInfo[playerid][pCookies] += 1;
}
}