SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 06/09/2017, 02:10 PM   #11
Deadpoop
Big Clucker
 
Deadpoop's Avatar
 
Join Date: Jul 2016
Posts: 114
Reputation: 3
Default Re: Login/Register System [MySQL R41-2] + unique TextDraws

Good Job
__________________
RELEASES:
































Deadpoop is offline   Reply With Quote
Old 09/09/2017, 12:38 PM   #12
HoNEYKISS
Big Clucker
 
HoNEYKISS's Avatar
 
Join Date: Aug 2017
Location: Must +rep to see the users location (joking don't ban me)
Posts: 51
Reputation: 24
Default Re: Login/Register System [MySQL R41-2] + unique TextDraws

nice one!so good
HoNEYKISS is offline   Reply With Quote
Old 26/10/2017, 02:25 PM   #13
JustMe.77
Huge Clucker
 
JustMe.77's Avatar
 
Join Date: Jun 2013
Location: Germany
Posts: 269
Reputation: 63
Default Re: Login/Register System [MySQL R41-2] + unique TextDraws

Thanks for the positive Feedback
JustMe.77 is offline   Reply With Quote
Old 27/10/2017, 06:48 AM   #14
GamezCEO
Big Clucker
 
Join Date: Oct 2017
Posts: 74
Reputation: 37
Default Re: Login/Register System [MySQL R41-2] + unique TextDraws

Elegant design, nicely scripted.

Well done!
GamezCEO is offline   Reply With Quote
Old 06/06/2018, 08:32 AM   #15
JustMe.77
Huge Clucker
 
JustMe.77's Avatar
 
Join Date: Jun 2013
Location: Germany
Posts: 269
Reputation: 63
Default Re: Login/Register System [MySQL R41-2] + unique TextDraws

I’m glad that you like it
JustMe.77 is offline   Reply With Quote
Old 08/06/2018, 10:30 AM   #16
Youns337
Little Clucker
 
Join Date: Jan 2016
Posts: 4
Reputation: 0
Default Re: Login/Register System [MySQL R41-2] + unique TextDraws

Hello guys,
it's a good job but the money is not save !
can you help me pls?
Youns337 is offline   Reply With Quote
Old 08/06/2018, 01:15 PM   #17
Youns337
Little Clucker
 
Join Date: Jan 2016
Posts: 4
Reputation: 0
Default Re: Login/Register System [MySQL R41-2] + unique TextDraws

Quote:
Originally Posted by Youns337 View Post
Hello guys,
it's a good job but the money is not save !
can you help me pls?
I have a solution :

Code:
	PlayerInfo[playerid][pMoney] = GetPlayerMoney(playerid);
i have define this in SaveUserStats

Code:
stock SaveUserStats(playerid)
{
	//If the player is not logged in, we don't save his account
	if(!PlayerInfo[playerid][pLoggedIn]) return 1;

	//If he has an account, we save it
	new query[256];
	PlayerInfo[playerid][pMoney] = GetPlayerMoney(playerid);
	mysql_format(handle, query, sizeof(query), "UPDATE users SET level = '%d', money = '%d', kills = '%d', deaths = '%d' WHERE id = '%d'",
		PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pMoney], PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths], PlayerInfo[playerid][p_id]);

	//Query sent
	mysql_pquery(handle, query);
	return 1;
}
Youns337 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
[FilterScript] Register And Login System With Clickable Textdraws(MySQL R41+) x3378 Filterscripts 31 29/09/2017 06:24 AM
Help in MySQL Login/Register System Ankon Discussion 5 25/07/2016 07:08 AM
[Video] Register & Login system with TextDraws - V1.1 Beta Kenrque Screenshots and Videos 2 11/01/2016 04:48 PM
[FilterScript] Login - Register System - [Fully on textdraws] JonathanW Filterscripts 16 26/11/2014 11:05 AM
mysql login/register system logoster Server Support 8 16/01/2014 04:34 PM


All times are GMT. The time now is 11:29 AM.


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