registration help - 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: registration help (
/showthread.php?tid=198807)
HELP with this... -
xir - 13.12.2010
I took this from Torran's registration system and edited a bit
http://pastebin.com/18vhRBNC
it compiles with no problems, but it doesnt register the account . and yes I did made Reg folder in scriptfiles
Re: registration help -
xir - 13.12.2010
help please bumpppp
Re: registration help -
CyNiC - 13.12.2010
Your code is right, put return 1; in the blocks to not to show the last dialog if the account exists:
Like in that block:
pawn Код:
if(dini_Exists(file))
{
format(str, 128, "Welcome %s \n\nEnter your password", GetName(playerid));
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login to your account", str, "Login", "Quit");
return true;
}