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

PHP код:
stock LC(linhas)
{
    static 
i;
    for( 
linhas1> -1; --i)
    {
       
SendClientMessageToAll(-1"");
    }
}
CMD:limparchat(playeridparams[])
{
    new 
name[MAX_PLAYER_NAME], string[123]; 
    
LC(20);
    
GetPlayerName(playeridnamesizeof(name));
    
format(stringsizeof(string), "%s, acabou de limpar o chat"name);
    
SendClientMessageToAll(-1string);
    return 
true;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)