SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 15/06/2012, 04:30 AM   #261
$$inSane
Gangsta
 
$$inSane's Avatar
 
Join Date: Feb 2012
Location: Somewhere in India
Posts: 597
Reputation: 30
Default Re: Login and Register System - Dialogs - Using Y_INI

nice tutorial but plzz add player position saver and loader as on of my friends needs this.
__________________
Be Honest to me !
$$inSane is offline   Reply With Quote
Old 15/06/2012, 04:33 PM   #262
Mimic
Huge Clucker
 
Mimic's Avatar
 
Join Date: Jul 2010
Posts: 220
Reputation: 6
Default Re: Login and Register System - Dialogs - Using Y_INI

Can you add this onto the login dialog

pawn Code:
SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);

You are only setting the SpawnInfo for players that have just registered, once they relog and login they won't be able to spawn properly. Maybe it was just me when I tested this out but I think it's important for you to add it in just in case other players experience the same problem I did.
__________________
Coming soon
Mimic is offline   Reply With Quote
Old 16/06/2012, 06:28 PM   #263
mickos
Gangsta
 
mickos's Avatar
 
Join Date: Apr 2012
Location: Slijterij
Posts: 956
Reputation: 618
Default Re: Login and Register System - Dialogs - Using Y_INI

Hey I was registered my self in the server but when I disconnect and later connect, I need be register again.
What do I need for save it?
Do I need put a map in scriptfiles?
mickos is offline   Reply With Quote
Old 16/06/2012, 09:53 PM   #264
Mimic
Huge Clucker
 
Mimic's Avatar
 
Join Date: Jul 2010
Posts: 220
Reputation: 6
Default Re: Login and Register System - Dialogs - Using Y_INI

map? no you create a folder named "Users" register your account & quit. You'll then be able to see your account inside the folder.
__________________
Coming soon
Mimic is offline   Reply With Quote
Old 17/06/2012, 10:03 PM   #265
mickos
Gangsta
 
mickos's Avatar
 
Join Date: Apr 2012
Location: Slijterij
Posts: 956
Reputation: 618
Default Re: Login and Register System - Dialogs - Using Y_INI

Didnt work
mickos is offline   Reply With Quote
Old 17/06/2012, 10:39 PM   #266
Mimic
Huge Clucker
 
Mimic's Avatar
 
Join Date: Jul 2010
Posts: 220
Reputation: 6
Default Re: Login and Register System - Dialogs - Using Y_INI

Hmm, PM me I'll be happy to help.
__________________
Coming soon
Mimic is offline   Reply With Quote
Old 17/06/2012, 10:39 PM   #267
.Wicked
Big Clucker
 
Join Date: Jun 2012
Posts: 74
Reputation: 2
Default Re: Login and Register System - Dialogs - Using Y_INI

Awesome, learned alot!
.Wicked is offline   Reply With Quote
Old 19/06/2012, 11:48 PM   #268
JustinAn
Huge Clucker
 
Join Date: Apr 2012
Location: Why?
Posts: 233
Reputation: 26
Default Re: Login and Register System - Dialogs - Using Y_INI

I got a problem, when I register than when I log back into the server, it says Incorrect password, when it is the right password. I fully saw it.

I followed what the tutorial went step by step, like what Kush did, does anyone know how to fix this problem?
JustinAn is offline   Reply With Quote
Old 20/06/2012, 01:00 AM   #269
Mimic
Huge Clucker
 
Mimic's Avatar
 
Join Date: Jul 2010
Posts: 220
Reputation: 6
Default Re: Login and Register System - Dialogs - Using Y_INI

If you'd like for a player aka you to not to be able to see the characters of your pass change the dialog style. http://wiki.sa-mp.com/wiki/Dialog_Styles

pawn Code:
DIALOG_STYLE_PASSWORD

If I haven't fully understood your problem please let me know.
__________________
Coming soon
Mimic is offline   Reply With Quote
Old 20/06/2012, 07:33 PM   #270
JustinAn
Huge Clucker
 
Join Date: Apr 2012
Location: Why?
Posts: 233
Reputation: 26
Default Re: Login and Register System - Dialogs - Using Y_INI

Quote:
Originally Posted by Mimic View Post
If you'd like for a player aka you to not to be able to see the characters of your pass change the dialog style. http://wiki.sa-mp.com/wiki/Dialog_Styles

pawn Code:
DIALOG_STYLE_PASSWORD

If I haven't fully understood your problem please let me know.
I followed your soloution, dosen't work. But when I did it it worked fine, but few 5 minutes later it's gone.
JustinAn 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
[Tutorial] Login and Register System - Dialogs - Using SII Kush Tutorials 69 02/07/2013 05:19 PM
[Tutorial] Login & Register system - dialogs - with y_ini Seven_of_Nine Tutorials 29 18/05/2013 05:18 PM
[FilterScript] [FS] ERegLog ( Advanced Register/Login System [Dialogs] ) aircombat Filterscripts 27 01/06/2011 06:28 PM
[FilterScript] Register/login system (Dini, dialogs) pantelimonfl Filterscripts 6 08/03/2011 05:13 PM


All times are GMT. The time now is 06:48 PM.


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