16.11.2013, 17:29
Okay thanks.
I get errors with this, what's the problem?
I get errors with this, what's the problem?
pawn Код:
case 4:
{
if(PlayerInfo[playerid][pAdmin] => 1); // Line 111
{
return SendClientMessage(playerid, -1, "You are not an admin!");
}
else
{
SetPlayerTeam(playerid, TEAM_ADMINS);
GameTextForPlayer(playerid, "~r~Admins", 1000, 3);
}
}
Код:
LGW.pwn(111) : warning 211: possibly unintended assignment LGW.pwn(111) : error 029: invalid expression, assumed zero LGW.pwn(111) : warning 215: expression has no effect LGW.pwn(111) : error 001: expected token: ";", but found ")" LGW.pwn(111) : error 029: invalid expression, assumed zero LGW.pwn(111) : fatal error 107: too many error messages on one line