[Ajuda] Dialogo
#10

pawn Код:
new PlayerBan[128];
    GetPlayerIp(playerid,PlayerBan,sizeof(PlayerBan));
    format(PlayerBan, 128,"Bans/%s.ini",PlayerBan);
    if(DOF2_FileExists(PlayerBan))
    {
        new string0[128],string1[128],string2[128],string3[128],string4[128];
        format(string0,128,"Seu Nick '%s' esta banido!\n", DOF2_GetInt(PlayerBan,"Nome"));
        strcat(PlayerBan,string0);
        format(string1,128,"Admin que te baniu '%s'\n", DOF2_GetInt(PlayerBan,"Admin"));
        strcat(PlayerBan,string1);
        format(string2,128,"Motivo '%s'\n", DOF2_GetInt(PlayerBan,"Motivo"));
        strcat(PlayerBan,string2);
        format(string3,128,"Data do ban '%d'\n", DOF2_GetInt(PlayerBan,"Data"));
        strcat(PlayerBan,string3);
        format(string4,128,"Hora do ban '%02d'", DOF2_GetInt(PlayerBan,"Horas"));
        strcat(PlayerBan,string4);
        ShowPlayerDialog(playerid, 20, DIALOG_STYLE_MSGBOX, "Banido",PlayerBan , "Ok", "");
        Kick(playerid);
    }
Tenta usar assim mano
Reply


Messages In This Thread
Dialogo - by MatheusAlcapone - 04.10.2012, 22:21
Re: Dialogo - by Coringa_Vilao - 04.10.2012, 22:25
Re: Dialogo - by MatheusAlcapone - 04.10.2012, 22:27
Re: Dialogo - by FenixBorn - 04.10.2012, 22:28
Re: Dialogo - by MatheusAlcapone - 04.10.2012, 22:33
Re: Dialogo - by Coringa_Vilao - 04.10.2012, 22:35
Re: Dialogo - by FenixBorn - 04.10.2012, 22:38
Re: Dialogo - by MatheusAlcapone - 04.10.2012, 22:44
Re: Dialogo - by tonisantolia - 04.10.2012, 22:51
Re: Dialogo - by hard_dalzot - 04.10.2012, 22:52

Forum Jump:


Users browsing this thread: 2 Guest(s)