[Ajuda] Como criar um comando de limparchat e aparecer o nome de quem limpou
#5

Quote:
Originally Posted by SmokiieGamer
Посмотреть сообщение
COMANDO:

PHP код:
CMD:lc(playerid)
{
    new 
string[200];
    for(new 
0100i++)
    {
        
SendClientMessage(playerid, -1" ");
    }
    
format(stringsizeof(string), "O ADM %s(%d) Limpou o Chat !"Name(playerid), playerid);
    
SendClientMessageToAll(-1string);
    return 
true;

STOCK:
PHP код:
stock Name(playerid)
{
    new 
name[MAX_PLAYER_NAME];
    
GetPlayerName(playeridnamesizeof(name));
    return 
name;

SendClientMessage para limpar chat.. so vai limpar para quem digitar o comando ( n vai ser para todos. )
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)