[RESOLVIDO]Chat
#3

Quote:
Originally Posted by SuB_ZeRo0_
Tenta:

pawn Код:
if(strcmp(cmd, "/ooc", true) == 0)
  {
 if (PlayerInfo[playerid][pAdmin] >= 3 && (noooc==0))
 {
   noooc = 1;
   BroadCast(COLOR_GRAD2, "  OOC Chat desativado pelo admin!");
 }
 else if (PlayerInfo[playerid][pAdmin] >= 3 && (noooc==1))
 {
   noooc = 0;
   BroadCast(COLOR_GRAD2, "  OOC Chat ativado pelo admin ! !");
 }
 else {
   SendClientMessage(playerid, COLOR_GRAD1, "  Voce nгo esta autorizado a usar este comando!");
 }
 return 1;
}
Nгo esqueзa de (Em baixo dos include <...>)
pawn Код:
new noooc;
/\ Faltou algo...

pawn Код:
nwe noooc[MAX_PLAYERS];
Reply


Messages In This Thread
[RESOLVIDO]Chat - by angels182 - 30.04.2010, 21:14
Re: [DUV]Chat - by SuB_ZeRo0_ - 30.04.2010, 21:28
Re: [DUV]Chat - by Guilherme_Canani - 30.04.2010, 21:32
Re: [DUV]Chat - by SuB_ZeRo0_ - 30.04.2010, 21:34

Forum Jump:


Users browsing this thread: 1 Guest(s)