What's wrong? command error (rep+)
#1

PHP код:
    if(strcmp(cmd"/bo"true) == 0)
{
    if(
IsPlayerConnected(playerid) && (boxevent == 0) && if (PlayerInfo[playerid][pAdmin] >= 1337))
    {
        
boxevent 1;
        
BroadCast(COLOR_GREEN"   ***********!");
    }
    else if(
IsPlayerConnected(playerid) && (boxevent == 1))
    {
        if(
IsPlayerAdmin(playerid))
        {
            
boxevent 0;
            
BroadCast(COLOR_GREEN"  ***********.");
        }
    }
    return 
1;

errors
C:\Users\User\Desktop\j.pwn(125) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\j.pwn(125) : warning 215: expression has no effect
C:\Users\User\Desktop\j.pwn(125) : error 001: expected token: ";", but found ")"
C:\Users\User\Desktop\j.pwn(125) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\j.pwn(125) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
What's wrong? command error (rep+) - by boyan96 - 04.02.2012, 18:37
Re: What's wrong? command error (rep+) - by Konstantinos - 04.02.2012, 18:41
Re: What's wrong? command error (rep+) - by boyan96 - 04.02.2012, 18:43
Re: What's wrong? command error (rep+) - by boyan96 - 04.02.2012, 20:38

Forum Jump:


Users browsing this thread: 1 Guest(s)