[HELP!!!!!!!!!] Timer to load new gm
#1

Does anyone knows how to create a timer to make mini missions?

Like, u have 3 minutes to complete the mission and when done the new gm loads.

Please help, thanks.

Quote:
Originally Posted by Joruz_Tellino
Oh found it out myself
Maybe its usefull to anyone who wants to create mini missions: this timer loads new gm after 2 mins(120000)
Код:
forward message();

public OnGameModeInit( )
{
  	print("Starting timer...");
	SetTimer("message",120000,false);
	SendClientMessageToAll(CGREEN, "Mission Started");
}

public message()
{
	print("END OF THE MISSION LOADING NEW GM");
	SendClientMessageToAll(CGREEN, "End of the mission.");
	GameModeExit();
}
Reply


Messages In This Thread
[HELP!!!!!!!!!] Timer to load new gm - by Joruz_Tellino - 08.07.2009, 18:31
Re: [Need help of an expert] Timer ??? mini mission - by Joruz_Tellino - 08.07.2009, 18:39
Re: [Need help of an expert] Timer ??? mini mission - by Think - 08.07.2009, 18:40
Re: [Need help of an expert] Timer ??? mini mission - by Joruz_Tellino - 08.07.2009, 18:40
Re: [HELP!!!!!!!!!] Timer to load new gm - by Joruz_Tellino - 08.07.2009, 18:49

Forum Jump:


Users browsing this thread: 1 Guest(s)