Broken Command?
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/CTAB", true))
    {
        if (gTeam[playerid] == TEAM_CT)
        {
            GivePlayerWeapon(playerid, 23, 200);
            GivePlayerWeapon(playerid, 31, 120);
        }
        else
        {
            SendClientMessage(playerid, 0xFF0000FFF, "You are not a CounterTerorist.");
        }
        return 1;
    }

}
return 0;
Reply


Messages In This Thread
Broken Command? - by ThePwherer - 01.02.2011, 22:40
Re: Broken Command? - by PeteShag - 01.02.2011, 22:45
Re: Broken Command? - by Lorenc_ - 01.02.2011, 22:48
Re: Broken Command? - by ThePwherer - 01.02.2011, 22:49
Re: Broken Command? - by Unknown123 - 01.02.2011, 23:16

Forum Jump:


Users browsing this thread: 1 Guest(s)