Please check the code - 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: Please check the code (
/showthread.php?tid=638559)
Please check the code -
JokersNight - 02.08.2017
php.
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid),"LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid,LOGIN,DIALOG_STYLE_INPUT ,"Login","Type your password below to login","Login","Leave");
}
else
{
ShowPlayerDialog(playerid,REGISTER,DIALOG_STYLE_IN PUT,"Register","Please register your account here!","Register","Leave");
}
when enter the password showing wrong password