Advice + Help - Playing Minutes
#1

1. In need advice: Can "RemoveBuilding"'s make lagg on my server so much ?

2. Need HELP!
My "Playing Minutes don't working right!

enum
Код:
Minute,
onplayerspawn
Код:
        format(string, sizeof(string), "*Tvoji statsi: Minuta online: [%d]",PlayerInfo[playerid][Minute]);
loaduserdata
Код:
    INI_Int("Minute", PlayerInfo[playerid][Minute]);
Код:
funkcija Online(playerid)
{
	if(IsPlayerConnected(playerid))
	{
		PlayerInfo[playerid][Minute] = PlayerInfo[playerid][Minute] + 1;
	}
	return 1;
}
onplayerregister
Код:
    INI_WriteInt(playerFile, "Minute", 0);
Код:
    PlayerInfo[playerid][Minute] = 0;
onplayerlogout
Код:
    INI_WriteInt(playerFile, "Minute", PlayerInfo[playerid][Minute]);
stats!
Код:
    new pla = PlayerInfo[targetid][Minute];
Reply


Messages In This Thread
Advice + Help - Playing Minutes - by FL3GM4 - 26.12.2012, 12:38
Re: Advice + Help - Playing Minutes - by rbush12 - 26.12.2012, 12:42
Re: Advice + Help - Playing Minutes - by FL3GM4 - 26.12.2012, 12:44
Re: Advice + Help - Playing Minutes - by Konstantinos - 26.12.2012, 12:48
Re: Advice + Help - Playing Minutes - by FL3GM4 - 26.12.2012, 12:50
Re: Advice + Help - Playing Minutes - by Konstantinos - 26.12.2012, 12:56
Re: Advice + Help - Playing Minutes - by Djole1337 - 26.12.2012, 12:56
Re: Advice + Help - Playing Minutes - by FL3GM4 - 26.12.2012, 13:02
Re: Advice + Help - Playing Minutes - by Konstantinos - 26.12.2012, 13:08
Re: Advice + Help - Playing Minutes - by FL3GM4 - 26.12.2012, 13:11

Forum Jump:


Users browsing this thread: 2 Guest(s)