GivePlayerCash unidentified?
#1

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
Reply
#2

GivePlayerCash isnt a native,

You mean:

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

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)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)