06.06.2015, 09:56
PHP код:
if(text[0] == '10')
{
if(ammurobtdentry{playerid} == true)//If they are in the checkpoint, they can use the chat to respond to it.
{
if(GetPlayerMoney(playerid) > 999)
{
GivePlayerMoney(playerid,-1000);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid, GREEN,"You have purchased Sawnoff Shotgun for $1,000");
} else SendClientMessage(playerid, RED, "You don't have enough money.");
return false;
}
}
PHP код:
(2770) : error 027: invalid character constant
(2770) : error 027: invalid character constant
(2770 -- 2771) : error 029: invalid expression, assumed zero
(2770 -- 2771) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.