14.06.2009, 22:42
pawn Код:
new C4BUY[MAX_PLAYERS];
if (strcmp("/buyc4", cmdtext, true) == 0)
{
if(C4BUY[playerid] == 1))
{
SendClientMessage(playerid, 0xFF0000AA, "You already have C4");
}
{
else if(C4BUY[playerid] == 0))
}
SendClientMessage(playerid, 0xFF0000AA, "You have purchased C4");
C4BUY[playerid] == 1))
{
return 1;
}
Код:
C:\Documents and Settings\Joe\My Documents\Tools\SA-MP\filterscripts\C4.pwn(61) : error 029: invalid expression, assumed zero C:\Documents and Settings\Joe\My Documents\Tools\SA-MP\filterscripts\C4.pwn(66) : error 029: invalid expression, assumed zero C:\Documents and Settings\Joe\My Documents\Tools\SA-MP\filterscripts\C4.pwn(66) : warning 215: expression has no effect C:\Documents and Settings\Joe\My Documents\Tools\SA-MP\filterscripts\C4.pwn(66) : error 001: expected token: ";", but found "if" C:\Documents and Settings\Joe\My Documents\Tools\SA-MP\filterscripts\C4.pwn(66) : error 029: invalid expression, assumed zero C:\Documents and Settings\Joe\My Documents\Tools\SA-MP\filterscripts\C4.pwn(66) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.