Whats the problem at this?
#6

Look for me its used on these.
pawn Код:
stock doesAccountExist(account_name[])
{
    new sz_accStr[MAX_PLAYER_NAME + 12], File:f_Handle;

    format(sz_accStr, sizeof(sz_accStr), "users/%s.ini", account_name);
    if(fexist(sz_accStr)) {

        if(!(f_Handle = fopen(sz_accStr, io_read))) {
            return 1;
        }

        if(flength(f_Handle) > 0) {
            fclose(f_Handle);
            return 1;
        }
        fclose(f_Handle);
    }
    return 0;
}
for example, but may I ask you do you use a command like /changename?
Reply


Messages In This Thread
Whats the problem at this? - by ChristianIvann09 - 01.04.2014, 02:30
Re: Whats the problem at this? - by ChristianIvann09 - 01.04.2014, 05:41
Re: Whats the problem at this? - by stundje - 01.04.2014, 07:23
Re: Whats the problem at this? - by ChristianIvann09 - 01.04.2014, 07:30
Re: Whats the problem at this? - by stundje - 01.04.2014, 07:33
Re: Whats the problem at this? - by stundje - 01.04.2014, 07:35
Re: Whats the problem at this? - by ChristianIvann09 - 01.04.2014, 09:54
Re: Whats the problem at this? - by ChristianIvann09 - 02.04.2014, 00:44

Forum Jump:


Users browsing this thread: 1 Guest(s)