[Pedido] Solicitaзгo de Ajuda!
#2

Estou fazendo o Comando em 5 minutos eu edito e coloco

@Editt

aqui o meu comando ele pega o comando errado que o player digitou e manda exemplo

/raooa

o comando /raooa nгo existe


PHP код:
public OnPlayerCommandPerformed(playeridcmdtext[], success)
{
    if(!
success)
    {
        new 
string[82];
        
format(stringsizeof(string), "{FF0000}[ERRO] O Comando {FFFFFF}%s{FF0000} Nгo Existe!!!.",cmdtext);
        
SendClientMessage(playerid, -1,string);
    }
    return 
1;

aqui o codigo limparchat mais OTIMIZADO

PHP код:
CMD:limparchat(playeridparams[])
{
    if(
IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1"{FF0000}ERRO: Vocк nгo й um administrador para utilizar este tipo de comando!");
    for(new 
0500; ++t)
    {
        
SendClientMessageToAll(-1" ");
    }
    new 
mensagemlimparchat[57];
    
format(mensagemlimparchatsizeof(mensagemlimparchat),"O Administrador %s limpou o chat"Nome(playerid));
    
mensagemall(-1,mensagemlimparchat);
    return 
1;

Reply


Messages In This Thread
Solicitaзгo de Ajuda! - by fxckshzt - 10.08.2017, 21:22
Re: Solicitaзгo de Ajuda! - by C4rtm4n - 10.08.2017, 21:47
Re: Solicitaзгo de Ajuda! - by DelK - 10.08.2017, 21:50
Re: Solicitaзгo de Ajuda! - by fxckshzt - 11.08.2017, 00:35
Re: Solicitaзгo de Ajuda! - by fxckshzt - 11.08.2017, 00:46
Re: Solicitaзгo de Ajuda! - by GuilhermeNunes - 11.08.2017, 08:18
Re: Solicitaзгo de Ajuda! - by C4rtm4n - 11.08.2017, 08:22
Re: Solicitaзгo de Ajuda! - by fxckshzt - 11.08.2017, 18:06
Re: Solicitaзгo de Ajuda! - by IlanZ - 11.08.2017, 18:16
Re: Solicitaзгo de Ajuda! - by fxckshzt - 11.08.2017, 18:22

Forum Jump:


Users browsing this thread: 3 Guest(s)