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