Problems
#1

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 ...
Reply


Messages In This Thread
Problems - by madalin912 - 16.07.2014, 06:27
Re: Problems - by Blast3r - 16.07.2014, 07:46
Re: Problems - by xVIP3Rx - 16.07.2014, 07:52
Re: Problems - by madalin912 - 16.07.2014, 07:56
Re: Problems - by Blast3r - 16.07.2014, 07:57
Re: Problems - by madalin912 - 16.07.2014, 08:14
Re: Problems - by Blast3r - 16.07.2014, 08:21
Re: Problems - by madalin912 - 16.07.2014, 08:23
Re: Problems - by Blast3r - 16.07.2014, 08:24
Re: Problems - by madalin912 - 16.07.2014, 09:36

Forum Jump:


Users browsing this thread: 4 Guest(s)