Not able to speak
#9

simply here is the whole code :


Top Of Script :
Код:
new AFK[MAX_PLAYERS];
new BRB[MAX_PLAYERS];
Under Your /afk Command :
Код:
AFK[playerid] = 1;
Under Your /brb Command :
Код:
BRB[playerid] = 1;
Under Your /back Command :
Код:
AFK[playerid] = 0;
BRB[playerid] = 0;
Код:
public OnPlayerText(playerid, text[])
{
    if(AFK[playerid] == 1)
    {
       SendClientMessage(playerid, COLOR_RED, "You are AFK , You Can't Speak Until You Are Back (/back)");
       return 0;
    }
    if(BRB[playerid] == 1)
    {
       SendClientMessage(playerid, COLOR_RED, "You are BRB , You Can't Speak Until You Are Back (/back)");
       return 0;
    }
    return 1;
}
Reply


Messages In This Thread
Not able to speak - by Bomber - 04.05.2010, 20:20
Re: Not able to speak - by aircombat - 04.05.2010, 21:12
Re: Not able to speak - by Bomber - 04.05.2010, 22:20
Re: Not able to speak - by aircombat - 04.05.2010, 22:51
Re: Not able to speak - by Bomber - 04.05.2010, 22:55
Re: Not able to speak - by NiiRV4N4 - 05.05.2010, 02:10
Re: Not able to speak - by BP13 - 05.05.2010, 02:15
Re: Not able to speak - by Toni - 05.05.2010, 02:15
Re: Not able to speak - by aircombat - 05.05.2010, 10:50

Forum Jump:


Users browsing this thread: 1 Guest(s)