SA-MP Forums Archive
How To add IsRegistred and IsLogged with y_ini? - 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: How To add IsRegistred and IsLogged with y_ini? (/showthread.php?tid=540584)



How To add IsRegistred and IsLogged with y_ini? - AmirRFCNR - 05.10.2014

How To add pInfo[playerid][IsRegistred], pInfo[playerid][IsLogged] to my GM
i already have login/register but idk how to add this.



Re: How To add IsRegistred and IsLogged with y_ini? - Evocator - 05.10.2014

if the file exists, then load the password for a check and set the IsRegistred whether a bool/int to 1.
When they login, under the dialog response (??) set the IsLogged to 1.