16.08.2014, 09:05
hey guys, i have my own command called /pill which heals your health,
im currently using:
im trying to make it so if you buy a 10 pack of pills, it gives you 10 pills, im doing it by spamming the same code 10 times over
how can i make it add +10 to the stat within the same line, without having to spam like im doing so far?
im currently using:
PHP код:
pInfo[playerid][pPills]++;
PHP код:
pInfo[playerid][pPills]++;
pInfo[playerid][pPills]++;
pInfo[playerid][pPills]++;
pInfo[playerid][pPills]++;
pInfo[playerid][pPills]++;
pInfo[playerid][pPills]++;
pInfo[playerid][pPills]++;
pInfo[playerid][pPills]++;
pInfo[playerid][pPills]++;
pInfo[playerid][pPills]++;