[Ajuda] Dialog
#1

Olб achei um comando para ver acho que os logs de desbanimento e gostaria de saber que sistema de salvamento ele usa e como/se puder converter para DOF2.

pawn Код:
CMD:log(playerid,parmas[])
{
    if(!IsPlayerAdmin(playerid))return SendClientMessage(playerid,-1,"{ff0000}You are not authorized to use this command.");
    new read[500],ss[1008],op[1000];
    format(op,sizeof(op),"");
    new File:log=fopen("unban_log.txt",io_read);
    while(fread(log,read))
    {
        strcat(read,"\n",500);
        strcat(op,read,1000);
    }
    fclose(log);
    format(ss,sizeof(ss),"{9ACD32}%s",op);
    ShowPlayerDialog(playerid, 110, DIALOG_STYLE_MSGBOX, "{00BFFF}Showing Un-Ban Log",ss, "Cool", "");
    return 1;
}
Com esse comando eu queria fazer outro para ver o nome de todas as corridas de uma pasta.
Reply


Messages In This Thread
Dialog - by Ts3 - 12.12.2014, 23:13
Re: Dialog - by JonathanFeitosa - 12.12.2014, 23:22
Re: Dialog - by MultiKill - 12.12.2014, 23:22
Re: Dialog - by Gii - 12.12.2014, 23:34
Re: Dialog - by Ts3 - 13.12.2014, 00:55
Re: Dialog - by MultiKill - 13.12.2014, 01:14
Re: Dialog - by Ts3 - 13.12.2014, 01:42
Re: Dialog - by MultiKill - 13.12.2014, 02:00
Re: Dialog - by Ts3 - 13.12.2014, 04:00

Forum Jump:


Users browsing this thread: 2 Guest(s)