[Pedido] comando /ask
#8

Quote:
Originally Posted by JPedro
Посмотреть сообщение
Fiz um comando simples aqui, teste e ve se funciona e adpte-o ao seu gamemode

PHP код:
CMD:respond(playeridparams[])
{
    new 
idmensagem[50], string[128], string2[70];
    if(
sscanf(params,"us[50]",id,mensagem)) return SendClientMessage(playerid, -1"| USE | /respond [id] [message]");
    
format(stringsizeof(string),"* {FFFFFF} Your question has been answered by helper %s : %s",PegarNome(playerid),mensagem);
    
SendClientMessage(id, -1string);
    
format(string2sizeof(string2),"| Help | You just answer doubts %s",PegarNome(id));
    
SendClientMessage(playerid, -1string2);
    return 
1;
}
stock PegarNome(playerid)
{
    new 
name[MAX_PLAYER_NAME];
    
GetPlayerName(playeridnameMAX_PLAYER_NAME);
    return 
name;

jpгo eu queria mesmo e o comando /ask para os usuarios fazerem a pergunta entendeu ?
Reply


Messages In This Thread
comando /ask - by DKDarkking - 27.08.2015, 00:08
Re: comando /ask - by iTakelot - 27.08.2015, 00:20
Re: comando /ask - by DKDarkking - 27.08.2015, 00:27
Re: comando /ask - by iTakelot - 27.08.2015, 00:37
Re: comando /ask - by DKDarkking - 27.08.2015, 00:41
Re: comando /ask - by iTakelot - 27.08.2015, 00:48
Re: comando /ask - by JPedro - 27.08.2015, 16:42
Re: comando /ask - by DKDarkking - 28.08.2015, 21:20
Re: comando /ask - by iTakelot - 28.08.2015, 21:27
Re: comando /ask - by DKDarkking - 28.08.2015, 22:35

Forum Jump:


Users browsing this thread: 2 Guest(s)