28.05.2010, 11:47
pawn Код:
if(strcmp(cmdtext, "/readyall", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
RaceStart == 1)
SendClientMessageToAll(playerid, COLOR_RED, "Race Starts");
}
else
SendClientMessage(playerid,0xFF0000AA,"You can't use this command!");
return 1;
}
Код:
C:\------\Race.pwn(177) : warning 215: expression has no effect C:\------\Race.pwn(177) : error 001: expected token: ";", but found ")" C:\------\Race.pwn(177) : error 029: invalid expression, assumed zero C:\------\Race.pwn(178) : error 035: argument type mismatch (argument 2) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
Код:
Line 177: RaceStart == 1) Line 178: SendClientMessageToAll(playerid, COLOR_RED, "Race Starts");