[Tutorial] Login and Register System - Dialogs - Using SII
#7

Great tutorial! Well explained, reputation ++;

But, did I found a mistake?

pawn Code:
PlayerInfo[playerid][pScore] = INI_ReadInt("Score")
You didn't use SetPlayerScore to set the player's score back, lol

pawn Code:
GivePlayerMoney(playerid, INI_ReadInt("Cash"));
Just an example, before we logged in, we hacked the money to $9999999, then we log in, we got another money too ...

So I think it would be

pawn Code:
GivePlayerMoney( playerid, - GetPlayerMoney( playerid ) + INI_ReadInt( "Cash" ) );

// Or

ResetPlayerMoney( playerid );

GivePlayerMoney( playerid, INI_ReadInt( "Cash" ) );
Reply


Messages In This Thread
Login and Register System - Dialogs - Using SII - by Kush - 10.07.2011, 00:02
Re: Login and Register System - Dialogs - Using SII - by Calgon - 10.07.2011, 00:24
Re: Login and Register System - Dialogs - Using SII - by Kush - 10.07.2011, 00:31
Re: Login and Register System - Dialogs - Using SII - by HyperZ - 10.07.2011, 03:57
Re: Login and Register System - Dialogs - Using SII - by Steven82 - 10.07.2011, 04:50
Re: Login and Register System - Dialogs - Using SII - by dowster - 10.07.2011, 06:22
Re: Login and Register System - Dialogs - Using SII - by Basicz - 10.07.2011, 07:36
Re: Login and Register System - Dialogs - Using SII - by Davz*|*Criss - 10.07.2011, 09:44
Re: Login and Register System - Dialogs - Using SII - by Kush - 10.07.2011, 14:52
Re: Login and Register System - Dialogs - Using SII - by Coffeemonster - 11.07.2011, 16:12
Re: Login and Register System - Dialogs - Using SII - by Kush - 11.07.2011, 16:33
Re: Login and Register System - Dialogs - Using SII - by GoldenM4 - 12.07.2011, 16:25
Re: Login and Register System - Dialogs - Using SII - by Coffeemonster - 15.07.2011, 12:55
Re: Login and Register System - Dialogs - Using SII - by Kush - 15.07.2011, 19:54
Re: Login and Register System - Dialogs - Using SII - by Seven_of_Nine - 15.07.2011, 20:16
Re: Login and Register System - Dialogs - Using SII - by Kush - 15.07.2011, 20:17
Re: Login and Register System - Dialogs - Using SII - by Seven_of_Nine - 15.07.2011, 20:18
Re: Login and Register System - Dialogs - Using SII - by Coffeemonster - 15.07.2011, 22:01
Re: Login and Register System - Dialogs - Using SII - by Ehab1911 - 17.07.2011, 15:40
Re: Login and Register System - Dialogs - Using SII - by Dark.Angel - 20.07.2011, 17:36
AW: Re: AW: Login and Register System - Dialogs - Using SII - by samtey - 20.07.2011, 19:16
Re: Login and Register System - Dialogs - Using SII - by System64 - 20.07.2011, 19:56
AW: Login and Register System - Dialogs - Using SII - by samtey - 20.07.2011, 20:01
AW: Login and Register System - Dialogs - Using SII - by samtey - 20.07.2011, 20:08
Re: Login and Register System - Dialogs - Using SII - by System64 - 20.07.2011, 20:28
Re: Login and Register System - Dialogs - Using SII - by Kush - 20.07.2011, 20:56
Re: AW: Login and Register System - Dialogs - Using SII - by Shockey HD - 22.07.2011, 22:12
Re: Login and Register System - Dialogs - Using SII - by Mustafa6155 - 10.10.2012, 10:44
Re: Login and Register System - Dialogs - Using SII - by danilonba - 23.10.2012, 16:06
Re: Login and Register System - Dialogs - Using SII - by burnfire - 17.04.2013, 13:07
Re: Login and Register System - Dialogs - Using SII - by Player23 - 28.06.2013, 05:00
Re: Login and Register System - Dialogs - Using SII - by Hardy - 28.06.2013, 19:57
Re: Login and Register System - Dialogs - Using SII - by Akira297 - 02.07.2013, 03:52
Re: Login and Register System - Dialogs - Using SII - by AntmanCow - 02.07.2013, 17:19

Forum Jump:


Users browsing this thread: 1 Guest(s)