13.03.2012, 14:26
One of the three reasons:
1) Maybe the directory: server/scriptfiles/ladmin/users/ does't exist? Check the name and case.
2) Or probably udb_encode returns integers? In that case, use:
format( file, sizeof( file ), "/ladmin/users/%i.sav", udb_encode( PlayerName( playerid ) ) );
3) Hope you are not formatting the "file" itself.
1) Maybe the directory: server/scriptfiles/ladmin/users/ does't exist? Check the name and case.
2) Or probably udb_encode returns integers? In that case, use:
format( file, sizeof( file ), "/ladmin/users/%i.sav", udb_encode( PlayerName( playerid ) ) );
3) Hope you are not formatting the "file" itself.
pawn Код:
new File:IO, file[128]; //"file" should be a string.

