08.07.2009, 18:31
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.
Maybe its usefull to anyone who wants to create mini missions: this timer loads new gm after 2 mins(120000)
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
|
Код:
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(); }