14.06.2009, 22:50
Narrowed it down to 3 errors,
pawn Код:
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 036: empty statement 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(68) : error 036: empty statement C:\Documents and Settings\Joe\My Documents\Tools\SA-MP\filterscripts\C4.pwn(71) : warning 215: expression has no effect Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.