OOC Chat Problem
#2

pawn Код:
if(pInfo[playerid][OOC] > 0)
{
     format(string, sizeof(string), "Administrator %s has disable the OOC Chat!", GetName(playerid));
     SendClientMessageToAll(COLOR_GREY, string);
     pInfo[playerid][OOC] = 0;
     INI_WriteInt(file, "OOC", pInfo[playerid][OOC]);
}
       
else
{
     format(string, sizeof(string), "Administrator %s has enable the OOC Chat!", GetName(playerid));
     SendClientMessageToAll(COLOR_GREY, string);
     pInfo[playerid][OOC] = 1;
     INI_WriteInt(file, "OOC", pInfo[playerid][OOC]);
}

    return 1;
Maybe this should work,
Reply


Messages In This Thread
Never Mind - by RollTi - 14.04.2012, 11:48
Re: OOC Chat Problem - by SupremeCommander - 14.04.2012, 11:59
Re: OOC Chat Problem - by RollTi - 14.04.2012, 12:03

Forum Jump:


Users browsing this thread: 1 Guest(s)