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.
new C4BUY[MAX_PLAYERS];
if (strcmp("/buyc4", cmdtext, true) == 0)
{
if(C4BUY[playerid] == 1)
{
SendClientMessage(playerid, 0xFF0000AA, "You already have C4");
}
else
}
SendClientMessage(playerid, 0xFF0000AA, "You have purchased C4");
C4BUY[playerid] = 1;
{
return 1;
}
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.
if (strcmp("/buyc4", cmdtext, true) == 0)
{
if (C4BUY[playerid] == 1) return SendClientMessage(playerid, 0xFF0000AA, "You already have C4");
else
{
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(83) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
{
83: else
}
if (strcmp("/buyc4", cmdtext, true) == 0)
{
if (C4BUY[playerid] == 1) return SendClientMessage(playerid, 0xFF0000AA, "You already have C4");
else
{
SendClientMessage(playerid, 0xFF0000AA, "You have purchased C4");
C4BUY[playerid] = 1;
}
return 1;
}
Originally Posted by Miokie*
pawn Код:
|