SA-MP Forums Archive
Login system - 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)
+--- Thread: Login system (/showthread.php?tid=354005)



Login system - Youice - 25.06.2012

I have created a register system that I have learned it from "file" function, my problem is how can I make the login function?

here is a tiny code from the register, please gimme examples on it, thank you : )

Код:
format(str2, 32, "Key=%s\n", PlayerInfo[playerid][pKey]); fwrite(UsersFile, str2);



Re: Login system - JaKe Elite - 25.06.2012

Why you want to create a register/login system with file?
if you could do it on easier way in y_ini, dini or other fastest saving system.


Re: Login system - Youice - 25.06.2012

well this is much easier for me, I worked with all even mysql , with Dini it sometimes doesn't save , with y_ini I receive unexpected error in "server.exe" and with MYSQL I had mixed a lot in the codes of it, so I decided to learn this, I can save now with "file" function any thing I want, (families - gangs - etc)


Re: Login system - Youice - 25.06.2012

so, any help? : )