[PAWN] Tons of errors
#2

pawn Код:
else if(gift == 7)
            {
                GivePlayerMoney(giveplayerid, 20000); //ERROR LINE
                SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won $20,000!");
                format(string, sizeof(string), "* %s was just gifted $20,000, enjoy!", GetPlayerNameEx(giveplayerid));
                ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
            }
It should be GivePlayerMoney instead of GivePlayerCash as GivePlayerCash is not a function - correct one for giving out cash is GivePlayerMoney.
Reply


Messages In This Thread
[PAWN] Tons of errors - by bradleyofniet - 31.05.2014, 10:32
Re: [PAWN] Tons of errors - by Parallex - 31.05.2014, 10:35
Re: [PAWN] Tons of errors - by SyntaxQ - 31.05.2014, 10:35
Re: [PAWN] Tons of errors - by bradleyofniet - 31.05.2014, 10:38
Re: [PAWN] Tons of errors - by bradleyofniet - 31.05.2014, 10:41
Re: [PAWN] Tons of errors - by bradleyofniet - 31.05.2014, 10:44
Re: [PAWN] Tons of errors - by Eth - 31.05.2014, 10:45
Re: [PAWN] Tons of errors - by bradleyofniet - 31.05.2014, 10:52
Re: [PAWN] Tons of errors - by Eth - 31.05.2014, 11:05
Re: [PAWN] Tons of errors - by bradleyofniet - 31.05.2014, 11:10

Forum Jump:


Users browsing this thread: 2 Guest(s)