[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
#2

Anyone know how to do it?
Reply
#3

https://sampwiki.blast.hk/wiki/SetTimer
Reply
#4

Quote:
Originally Posted by Pandabeer1337
Yeah i know but i dont know how to let it start the new gm
Reply
#5

Oh found it out myself
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)