Need some help with opening a *specific* user file
#4

Try this.

pawn Код:
new str, name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(str,sizeof(str),"/Users/%s.txt",name);
new File:example = fopen(str, io_read);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)