SA-MP Forums Archive
Help reading files and parsing password - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help reading files and parsing password (/showthread.php?tid=214015)



Help reading files and parsing password - luis_lpv_22 - 20.01.2011

Hi all, I'm making an accounts system and I need to read files and parse password with FileManager plugin.
But my code doens't work.. please help me
pawn Код:
new file1[100], pName[24];
GetPlayerName(playerid, pName, sizeof(pName));
format(file1, sizeof(file1), "scriptfiles/Accounts/%s", pName);
file_read(file1,"Password", sizeof(storage));
Thanks you