[Ajuda] Chat
#6

pawn Код:
// Topo do GM
#include <zcmd>
new DesabilitarChat[MAX_PLAYERS];
static  
zString[128],
    sPlayer
;

//Comando
CMD:desabilitarchat(playerid,params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFFFFFFF,"Vocк nгo й um Administrador !");
sPlayer= strval(params);
if(!IsPlayerConnected(sPlayer)) return SendClientMessage(playerid,0xFFFFFFF,"Este ID Atualmente estб desconectado");

format(zString,64,"Vocк desabilitou o Chat de %s(%d)  !",GetPlayerNick(playerid),playerid);
SendClientMessage(playerid,0xFFFFFF,zString);

DesabilitarChat[sPlayer] = 1;
return 1 ;
}

//Public
public OnPlayerText(playerid, text[])
{
    if(DesabilitarChat[playerid] == 1)return 0;
    return 1;
}
Reply


Messages In This Thread
[Ajuda] Chat - by [GET]Vidaloka - 05.02.2011, 04:42
Re: [Ajuda] Chat - by [NWD]Jim._.Carrey - 05.02.2011, 15:12
Re: [Ajuda] Chat - by Macintosh - 05.02.2011, 15:17
Re: [Ajuda] Chat - by [NWD]Jim._.Carrey - 05.02.2011, 15:23
Re: [Ajuda] Chat - by Macintosh - 05.02.2011, 15:57
Re: [Ajuda] Chat - by Baddark2131 - 05.02.2011, 16:45
Re: [Ajuda] Chat - by [NWD]Jim._.Carrey - 05.02.2011, 17:16
Re: [Ajuda] Chat - by [NWD]Jim._.Carrey - 05.02.2011, 18:12
Re: [Ajuda] Chat - by zSuYaNw - 05.02.2011, 20:35
Re: [Ajuda] Chat - by Macintosh - 05.02.2011, 20:40

Forum Jump:


Users browsing this thread: 2 Guest(s)