Cannot find the problem
#1

PHP код:
doesAccountExist(account_name[]) {
    new
        
sz_accStr[MAX_PLAYER_NAME 12];
    
format(sz_accStrsizeof(sz_accStr), "users/%s.db"account_name);
    if(
fexist(sz_accStr)) {
        new
            
Filef_Handle fopen(sz_accStrio_read);
        if(
flength(f_Handle) > 0) {
            
fclose(f_Handle);
            return 
1;
        }
        
fclose(f_Handle);
    }
    return 
0;

One every
Код:
if(doesAccountExist(playername))
 if(doesAccountExist(name))
if(doesAccountExist(accountName))
if(doesAccountExist(params))
the Account reset to blank. How to fix the problem. I cannot find any error here
Reply
#2

add some
pawn Код:
printf
functions
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)