[Pedido] Comando /me
#3

Caso nгo seja em Zcmd usa esse

Tambйm nгo testei man mas creio que possa ajudar
PHP код:
// topo do GM
#define Vermelho 0xFFFFFFFF
#define Amarelo  0xF6F600AA
// Em OnPlayerCommandText
    
if(strcmp(cmd,"/me",true)==0){
    
//new msg[256];
    
strmid(tmp,cmdtext,2,strlen(cmdtext));
    if(!
strlen(tmp)) {
    
SendClientMessage(playerid,Vermelho"Digite: /me [texto]");
    return 
1;
    } else {
    
format(stringsizeof(string), " %s diz: %s"PlayerName(playerid), tmp);
    
SendClientMessageToAll(Amarelo,string);
    return 
1;
    }
    }
    return 
1;
    } 
Reply


Messages In This Thread
Comando /me - by Izaque1998 - 20.08.2015, 01:07
Re: Comando /me - by IgorLuiz - 20.08.2015, 01:29
Comando /me - by Kojak - 20.08.2015, 01:43
Re: Comando /me - by Cleyson - 20.08.2015, 12:32
Re: Comando /me - by Izaque1998 - 20.08.2015, 12:45
Re: Comando /me - by IgorLuiz - 20.08.2015, 16:55

Forum Jump:


Users browsing this thread: 2 Guest(s)