normal tutorial that works (register 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: normal tutorial that works (register system) (
/showthread.php?tid=648300)
normal tutorial that works (register system) -
ivndosos - 19.01.2018
So I'm scripting a server and now I need to make a register system,
I've been using atleast 5 tutorials, Each and every one of them is completely bugged, I can enter whatever I want in the login dialog it will log me in anyway, I even tried their full code, Still bugged.
Does anyone have a tutorial that works for sure?
Thanks in advance.
Re: normal tutorial that works (register system) -
RogueDrifter - 19.01.2018
it's not bugged, you're just doing something wrong, are you sure that you're even getting a response out of the dialogue? make sure that:
1- You can't have 2 dialogs with the same ID, Ex: Bad>
#define DIALOG_CLASS 250
#define DIALOG_WEAPONS 250
Should be:
#define DIALOG_CLASS 251 // or any other different number
#define DIALOG_WEAPONS 250
good^ , ALSO, you must return 0; at the end of OnDialogueResponse.
Follow that procedure ^ if you don't get a response out of the dialogue.
Re: normal tutorial that works (register system) -
ivndosos - 19.01.2018
I know, I'm following the tutorial exactly step by step.
Re: normal tutorial that works (register system) -
HydraHumza - 19.01.2018
You using MySQL? if yes
try this one..