[Ajuda] Dialogo
#6

pawn Код:
new PlayerBan[128];
    GetPlayerIp(playerid,PlayerBan,sizeof(PlayerBan));
    format(PlayerBan, 128,"Bans/%s.ini",PlayerBan);
    if(DOF2_FileExists(PlayerBan))
    {
        new string[128];
        format(string,128,"Seu Nick '%s' esta banido!\n", DOF2_GetInt(playerid,"Nome"));
        strcat(PlayerBan,string);
        format(string,128,"Admin que te baniu '%s'\n", DOF2_GetInt(PlayerBan,"Admin"));
        strcat(PlayerBan,string);
        format(string,128,"Motivo '%s'\n", DOF2_GetInt(PlayerBan,"Motivo"));
        strcat(PlayerBan,string);
        format(string,128,"Data do ban '%d'\n", DOF2_GetInt(PlayerBan,"Data"));
        strcat(PlayerBan,string);
        format(string,128,"Hora do ban '%02d'", DOF2_GetInt(PlayerBan,"Horas"));
        strcat(PlayerBan,string);
        ShowPlayerDialog(playerid, 20, DIALOG_STYLE_MSGBOX, "Banido",str , "Ok", "");
        Kick(playerid);
                }
              }
            return 0;
        }
to tentando sou iniciante nгo me leva a mal mais estou tentando... ver se da serto ai
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: 1 Guest(s)