[SOLVED] What is wrong with this command?
#3

Quote:
Originally Posted by SiloX
pawn Код:
if(strcmp(cmd, "/removeroadblock", true) == 0)
{
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
    {
        if( Roadblock >= 1 )
        {
                DestroyObject( Roadblock );
            Roadblock = 0;
        }
        else
        {
            SendClientMessage(playerid, COLOR_GREY, "   No roadblocks have been deployed.");
        }  
    }
    else
    {
        SendClientMessage(playerid, COLOR_GREY, "   You are not a part of a faction.");
    }
    return 1;
}
Thanks
Reply


Messages In This Thread
[SOLVED] What is wrong with this command? - by FreddeN - 25.05.2010, 11:41
Re: [HELP] What is wrong with this command? - by sjvt - 25.05.2010, 11:49
Re: [HELP] What is wrong with this command? - by FreddeN - 25.05.2010, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)