Help with togging fam chat off
#4

Could you please point out the lines ?
pawn Код:
else if(!strcmp(params, "famooc", true))
    {
        if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
        if(famOOCStatus == 0)
        {
            famOOCStatus = 1;
            format(string, sizeof(string), "AdmCmd: %s has {33AA33}enabled {FF6347}the global Family-OOC chat for everybody.", RPN(playerid));
            SendPlayerFamMessage(COLOR_LIGHTRED, string);
        }
        else if(famOOCStatus == 1)
        {
            famOOCStatus = 0;
            format(string, sizeof(string), "AdmCmd: %s has {FF9900}disabled {FF6347}the global Family-OOC chat for everybody.", RPN(playerid));
            SendPlayerFamMessage(COLOR_LIGHTRED, string);
        }
    }
try something like that!
Reply


Messages In This Thread
Help with togging fam chat off - by MichaelWharton101 - 18.04.2013, 01:27
Respuesta: Help with togging fam chat off - by Strier - 18.04.2013, 01:46
Re: Help with togging fam chat off - by MichaelWharton101 - 18.04.2013, 02:14
Re: Help with togging fam chat off - by Scrillex - 18.04.2013, 02:24

Forum Jump:


Users browsing this thread: 1 Guest(s)