unreachable code, loose indentation
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/lxgiwyl", true) == 0)
    {
        SendClientMessage(playerid, 0xF97804FF, "No Thug's Tools For You Moron! xD");
        Kick(playerid);
        return 1;
    }
   
    if(strcmp(cmdtext, "/stateofemergency", true) == 0)
    {
        SendClientMessage(playerid, 0xF97804FF, "CYA go to hell");
        Kick(playerid);
        return 1;
    }
   
    if(strcmp(cmdtext, "/crazytown", true) == 0)
    {
        SendClientMessage(playerid, 0xF97804FF, "^_^");
        Kick(playerid);
        return 1;
    }
   
    if(strcmp(cmdtext, "/anoseonglass", true) == 0)
    {
        SendClientMessage(playerid, 0xF97804FF, "GO watch crank high woltage");
        Kick(playerid);
        return 1;
    }
    if(strcmp(cmdtext, "/fullclip", true) == 0)
    {
        SendClientMessage(playerid, 0xF97804FF, "shoot you'r self in the head");
        Kick(playerid);
        return 1;
    }
   
    return 0;
}
Reply


Messages In This Thread
unreachable code, loose indentation - by Divine - 28.01.2011, 14:19
Re: unreachable code, loose indentation - by BMUK - 28.01.2011, 14:22
Re: unreachable code, loose indentation - by Divine - 28.01.2011, 14:54
Re: unreachable code, loose indentation - by HyperZ - 28.01.2011, 14:58
Re: unreachable code, loose indentation - by Divine - 28.01.2011, 15:00
Re: unreachable code, loose indentation - by HyperZ - 28.01.2011, 15:01
Re: unreachable code, loose indentation - by dice7 - 28.01.2011, 15:02
Re: unreachable code, loose indentation - by Divine - 28.01.2011, 15:04
Re: unreachable code, loose indentation - by dice7 - 28.01.2011, 15:14
Re: unreachable code, loose indentation - by Divine - 28.01.2011, 15:29

Forum Jump:


Users browsing this thread: 2 Guest(s)