[ajuda]erros comando /relatorio
#5

pawn Код:
#define relatoMB 156

public OnPlayerCommandText(playerid, cmdtext[])
{
    new cmd[128];
    if(strcmp(cmd, "/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 sendername[MAX_PLAYER_NAME];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    if(dialogid == relatoMB)
    {
        new string[256];
        SendClientMessage(playerid, -1, "Sistema de relatorio Feiot por MatriXBorn Relato funfando");
        format(string, sizeof(string), "sistema de relato [Relato] %s(%d) relatou: %s", sendername,playerid,(result));
        SendClientMessage(playerid,-1, string);
        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)