SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Tutorials (https://forum.sa-mp.com/forumdisplay.php?f=70)
-   -   [Tutorial] Login and Register System - Dialogs - Using Y_INI (https://forum.sa-mp.com/showthread.php?t=273088)

SantarioLeone 01/09/2011 02:35 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
I downloaded the package an i still dont get a saved file

Tigerbeast11 01/09/2011 06:38 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
I'm not gonna bother trying cuz it seems that we're having the same problem...

Jafet_Macario 02/09/2011 01:25 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Lmao, for some reason now it creates the file.Damn, thanks for this Kush!

Kush 02/09/2011 01:36 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by Jafet_Macario (Post 1380584)
Lmao, for some reason now it creates the file.Damn, thanks for this Kush!

No problem ;D

Coffeemonster 02/09/2011 06:10 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Would it be possible that instead of having to relog after registering, I'd make a stock which saves the same stuff as OnPlayerDisconnect does, then I could put like SaveAccount() on the register so they doesn't have to relogin. Same way I could perhaps make an admin command to save and load account information?

Jafet_Macario 02/09/2011 06:45 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
You don't need to relog after registering.For example, a new player joins your server blabla, after he is tired of playing and he /q his stats will be saved automatically.

Coffeemonster 02/09/2011 06:50 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
What is that bullshit on register part then with the dialog saying I have to relog? Or did I now understand it wrong and it's suppose to be re login?

Kush 02/09/2011 06:51 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by Coffeemonster (Post 1380929)
Would it be possible that instead of having to relog after registering, I'd make a stock which saves the same stuff as OnPlayerDisconnect does, then I could put like SaveAccount() on the register so they doesn't have to relogin. Same way I could perhaps make an admin command to save and load account information?

Yes.

Jafet_Macario 02/09/2011 07:00 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Uhm, coffeemonster, I'm telling you because I tested it and it's great ^^.So a player when he register he don't have to relog.He will just continue to play,(remove the relog dialog part) and when he /q his stats will be saved automatically.

Kush 02/09/2011 07:01 PM

Re: Login and Register System - Dialogs - Using Y_INI
 
Quote:

Originally Posted by Jafet_Macario (Post 1380995)
Uhm, coffeemonster, I'm telling you because I tested it and it's great ^^.So a player when he register he don't have to relog.He will just continue to play,(remove the relog dialog part) and when he /q his stats will be saved automatically.

Your right.


All times are GMT. The time now is 09:28 PM.

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