[ajuda]erros comando /relatorio
#2

pawn Код:
#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/relato", true) == 0) {
        ShowPlayerDialog(playerid, relatoMB, DIALOG_STYLE_INPUT, "Sistema de Relatorio by MatriXBorn", "Vocк abriu o Sistema de Relatorio em Dialog do MatriXBorn", "Enviar", "Cancelar");
        return 1;
    }
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    new result[128];
    new string[128];

    if(dialogid == relatoMB) {
        SendClientMessage(playerid, especialcolor, "Sistema de relatorio Feiot por MatriXBorn Relato funfando");
        format(string, sizeof(string), "sistema de relato [Relato] %s(%d) relatou: %s", sendername,playerid,result);
        ABroadCast(-1,string,1);
        format(string, sizeof(string), "Sistema de relato [Relato] %s(%d) relatou: %s", sendername,playerid,result);
        SendClientMessage(playerid,-1, string);
    }
    return 1;
}


Espero ter resolvido o seu problema .
Reply


Messages In This Thread
[ajuda]erros comando /relatorio - by gabriel_matador - 06.12.2011, 13:52
Re: [ajuda]erros comando /relatorio - by |_MeGaTroN_| - 06.12.2011, 13:57
Re: [ajuda]erros comando /relatorio - by Macintosh - 06.12.2011, 14:04
Re: [ajuda]erros comando /relatorio - by gabriel_matador - 06.12.2011, 14:09
Re: [ajuda]erros comando /relatorio - by |_MeGaTroN_| - 06.12.2011, 14:12
Re: [ajuda]erros comando /relatorio - by Mattos - 06.12.2011, 14:13
Re: [ajuda]erros comando /relatorio - by ViniBorn - 06.12.2011, 14:27
Re: [ajuda]erros comando /relatorio - by Mattos - 06.12.2011, 14:29
Re: [ajuda]erros comando /relatorio - by gabriel_matador - 06.12.2011, 15:00
Re: [ajuda]erros comando /relatorio - by Lуs - 06.12.2011, 15:10

Forum Jump:


Users browsing this thread: 1 Guest(s)