OOC Toggle Help
#1

Basically when im level 5 it works but if im level 0 its doesn't like it should but the message at the bottom isn't showing

pawn Код:
CMD:ooctoggle(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 5)
{
if(oocstatus == 0){
oocstatus = 1;
SendClientMessageToAll(COLOR_GREY,"OOC Chat Has Been Disabled By An Administrator");
}
else if(oocstatus == 1){
oocstatus = 0;
SendClientMessageToAll(COLOR_GREY,"OOC Chat Has Been Enabled By An Administrator");
}
else
{
return SendClientMessage(playerid,KNOWNCOLOR_ORCHID,"Your Not The Correct Level To Use This Commend");
}
}
return 1;
}
Reply


Messages In This Thread
OOC Toggle Help - by zT KiNgKoNg - 03.09.2012, 11:21
Re: OOC Toggle Help - by denNorske - 03.09.2012, 11:23
Re: OOC Toggle Help - by Luke_James - 03.09.2012, 11:24
Re: OOC Toggle Help - by zT KiNgKoNg - 03.09.2012, 11:24
Re: OOC Toggle Help - by ryansheilds - 03.09.2012, 11:26
Re: OOC Toggle Help - by denNorske - 03.09.2012, 11:26

Forum Jump:


Users browsing this thread: 2 Guest(s)