Help with file_read
#1

Hi all, I need to read a file with file_read (FileManager plugin) and the native is this:
pawn Код:
file_read(file[],storage[], sizeof(storage));
I did this code, but doesn't work, I don't know that I must set in sizeof(storage)
pawn Код:
new pName[24];
GetPlayerName(playerid, pName, sizeof(pName));
format(file1, sizeof(file1), "scriptfiles/Accounts/%s", pName);
file_read(file1,"Password", pass);
Please help me. Thanks you
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)