SA-MP Forums Archive
how to - 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 (/showthread.php?tid=171863)



how to - iJumbo - 28.08.2010

how to add one point with this

if(!strcmp("/1punto",cmdtext,true))
{
PlayerInfo[playerid][pPuntiSpeciali] = 1;
return 1;
}


becouse if i put =1 this make 1 and null the old points

PlayerInfo[playerid][pPuntiSpeciali] + 1; i fi make this i get null warning


how to add one point and no sovvrascrive the last ? plz help


Re: how to - Gforcez - 28.08.2010

PlayerInfo[playerid][pPuntiSpeciali] ++;