Unloading problem!
#10

You need to reset the playerid's variables before they login. So under OnPlayerConnect before the dialogs to log in are shown you need to do something like this:

PHP код:
PlayerInfo[playerid][pHours] = 0;
PlayerInfo[playerid][pAdmin] = 0;
etc
Then show them the dialog and load their data if the password is correct, etc.
Reply


Messages In This Thread
Unloading problem! - by lQs - 12.05.2013, 19:55
AW: Unloading problem! - by HurtLocker - 12.05.2013, 19:58
Re: Unloading problem! - by lQs - 12.05.2013, 20:03
AW: Unloading problem! - by HurtLocker - 12.05.2013, 20:06
Re: Unloading problem! - by lQs - 12.05.2013, 20:08
Re: Unloading problem! - by Goldilox - 12.05.2013, 20:44
Re: Unloading problem! - by lQs - 12.05.2013, 20:47
Re: Unloading problem! - by Pawnie - 12.05.2013, 21:04
Re: Unloading problem! - by lQs - 12.05.2013, 21:17
Re: Unloading problem! - by Chenko - 12.05.2013, 21:52

Forum Jump:


Users browsing this thread: 2 Guest(s)