SA-MP Forums Archive
how to add +1 item when ... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: how to add +1 item when ... (/showthread.php?tid=144522)



how to add +1 item when ... - hardstop - 27.04.2010

dUserSetINT(PlayerName(playerid)).("Age",+1);

It doesnt work how can i do that it add +1 age on payday

i have payday system i just need to know how to add +1 of age etc...


Re: how to add +1 item when ... - MadeMan - 27.04.2010

You need to get the old age too

pawn Код:
dUserSetINT(PlayerName(playerid)).("Age",dUserINT(PlayerName(playerid)).("Age")+1);



Re: how to add +1 item when ... - hardstop - 27.04.2010

Thnx