SA-MP Forums Archive
+1 item?dini_IntSet - 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: +1 item?dini_IntSet (/showthread.php?tid=147842)



+1 item?dini_IntSet - hardstop - 14.05.2010

i have a dialog and i want to add +1 item ,


dini_IntSet(udb_encode(playername), "suitsud", suitsud[playerid]);

how can i add it to file when i buy


Re: +1 item?dini_IntSet - dice7 - 14.05.2010

pawn Код:
dini_IntSet(udb_encode(playername), "suitsud", dini_Int(udb_encode(playername), "suitsud") + 1);