SA-MP Forums Archive
GivePlayerCash unidentified? - 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)
+--- Thread: GivePlayerCash unidentified? (/showthread.php?tid=443831)



GivePlayerCash unidentified? - Mattakil - 14.06.2013

I just made a new system for my login, and when the player logs in, it is supposed to set their cash, instead, I get Error 17, unidentified symbol.

Here is the area of the bug.
pawn Код:
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
                {
                INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
                SpawnPlayer(playerid);
                //GivePlayerCash(playerid,PlayerInfo[playerid][pCash]);
                }
It's nothing causing it, cause commenting the line allows it to compile. +Rep to whoever helps


Re: GivePlayerCash unidentified? - DobbysGamertag - 14.06.2013

GivePlayerCash isnt a native,

You mean:

pawn Код:
GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]);



Re: GivePlayerCash unidentified? - Mattakil - 14.06.2013

OH MY GOD I feel like a retard...I dont know why I thought it was giveplayercash, lol.

+Rep (if I can, ive repped you before, thanks)