SA-MP Forums Archive
OOC Chat Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OOC Chat Problem (/showthread.php?tid=334270)



Never Mind - RollTi - 14.04.2012

Never Mind


Re: OOC Chat Problem - SupremeCommander - 14.04.2012

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,


Re: OOC Chat Problem - RollTi - 14.04.2012

Never Mind