SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 19/01/2018, 05:02 PM   #1
ivndosos
Huge Clucker
 
ivndosos's Avatar
 
Join Date: Sep 2014
Location: Russian Federation, Kaliningrad.
Posts: 406
Reputation: 18
Default normal tutorial that works (register system)

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.
ivndosos is offline   Reply With Quote
Old 19/01/2018, 05:05 PM   #2
RogueDrifter
High-roller
 
RogueDrifter's Avatar
 
Join Date: Dec 2017
Location: SA-MP Drifting world.
Posts: 1,176
Reputation: 353
Default Re: normal tutorial that works (register system)

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.
__________________

[Github]:Link [Gists]:Link [Forum]:Link [Server]:Link [Discord]:Link


RogueDrifter is offline   Reply With Quote
Old 19/01/2018, 05:17 PM   #3
ivndosos
Huge Clucker
 
ivndosos's Avatar
 
Join Date: Sep 2014
Location: Russian Federation, Kaliningrad.
Posts: 406
Reputation: 18
Default Re: normal tutorial that works (register system)

I know, I'm following the tutorial exactly step by step.
ivndosos is offline   Reply With Quote
Old 19/01/2018, 05:37 PM   #4
HydraHumza
Gangsta
 
HydraHumza's Avatar
 
Join Date: Oct 2014
Posts: 640
Reputation: 130
Default Re: normal tutorial that works (register system)

You using MySQL? if yes try this one..
__________________
Quote:
Originally Posted by Kalcor View Post
The fact is, I am right. And if you think I'm wrong, you are wrong.
HydraHumza is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does anyone know a tutorial with normal register system? ivndosos Scripting Help 2 16/01/2018 11:16 AM
[Tutorial] Register/Login System Using DJson *Includes DUDB Conversion! lavamike Scripting Help 25 10/04/2012 06:46 PM
[Tutorial] Creating a simple register and login system. AcId n RaPiD Help Archive 0 21/11/2009 02:23 PM


All times are GMT. The time now is 06:09 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.