SA-MP Forums Archive
SQL help - 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: SQL help (/showthread.php?tid=126185)



SQL help - Fugative. - 07.02.2010

I'm having trouble with this code, It doesn't seem to load.

pawn Код:
{
    if(AccountInfo[playerid][item1] == 1)

        SendClientMessage(playerid, ORANGE, "You have successfully paid for your item, You will not have to pay again.");
        SendClientMessage(playerid, ORANGE, "Thanks for using ammunation online!.");
        AccountInfo[playerid][spawngun1] +=30;
        SavePlayer(playerid);
        }



Re: SQL help - Fugative. - 07.02.2010

bump


Re: SQL help - ettans - 07.02.2010

Yeah well, can't help you with that code, since it's not supposed to load. Show the part which is actually supposed to load.


Re: SQL help - Fugative. - 08.02.2010

pawn Код:
if (MySQLVar == 36) AccountInfo[playerid][item1] = strval(sleepy);