16.07.2014, 06:27
pawn Код:
C:\Documents and Settings\Madalin\Desktop\freakz\gamemodes\FkZ.pwn(19435) : warning 225: unreachable code
C:\Documents and Settings\Madalin\Desktop\freakz\gamemodes\FkZ.pwn(19435) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Madalin\Desktop\freakz\gamemodes\FkZ.pwn(19439) : error 017: undefined symbol "pgun"
C:\Documents and Settings\Madalin\Desktop\freakz\gamemodes\FkZ.pwn(19439) : warning 215: expression has no effect
C:\Documents and Settings\Madalin\Desktop\freakz\gamemodes\FkZ.pwn(19439) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Madalin\Desktop\freakz\gamemodes\FkZ.pwn(19439) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Madalin\Desktop\freakz\gamemodes\FkZ.pwn(19439) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
pawn Код:
if(strcmp(cmdtext, "/armagratis", true) == 0)
{
if(pgun[playerid] > 0) return SendClientMessage(playerid, -1, "You alredy used /armagratis");
if(PlayerInfo[playerid][pDGun1] > 0)
{
SendClientMessage(playerid, COLOR_ORANGE,"Ai deja 3 arme!");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_BLUE, " Foloseste /dgun pentru a primi armele infinite!");
}
if(pgun[playerid] == 0)
{
pgun[playerid] = 3;
}
return 1;
}
I do not know how to look for weapons to put my system in place pgun ...