[HELP] TooglePlayerClock
#4

Код:
new chour;
new cminutes;

//ongminit()
SetTimer("Clock",1000,true);

//somewhere
forward Clock();
public clock()
{
	cminutes++;
	if(cminutes == 60) {    cminutes=0; chour++;	if(chour == 24) {	chour=0;	}     }
	SetWorldTime(chour);
	for(new i;i<MAX_PLAYERS;i++)
	{
	    SetPlayerTime(i,chour,cminutes);
	}
	return 1;
}
Reply


Messages In This Thread
[Solved][HELP] TogglePlayerClock - by Roiasher - 08.04.2011, 06:55
Re: [HELP] TooglePlayerClock - by THE_KNOWN - 08.04.2011, 07:09
Re: [HELP] TooglePlayerClock - by Roiasher - 08.04.2011, 07:11
Re: [HELP] TooglePlayerClock - by THE_KNOWN - 08.04.2011, 07:44
Re: [HELP] TooglePlayerClock - by [CrC]reinixx - 08.04.2011, 07:48
Re: [HELP] TooglePlayerClock - by THE_KNOWN - 08.04.2011, 07:52
Re: [HELP] TooglePlayerClock - by Roiasher - 08.04.2011, 07:54
Re: [HELP] TooglePlayerClock - by THE_KNOWN - 08.04.2011, 08:16
Re: [HELP] TooglePlayerClock - by BMUK - 08.04.2011, 08:16
Re: [HELP] TooglePlayerClock - by Roiasher - 08.04.2011, 08:24

Forum Jump:


Users browsing this thread: 2 Guest(s)