PDA

View Full Version : Round script



ORDI
16th April 2014, 12:31
hello everybody


i want to know how we create a round (a thing need for the gametype zom) like i create a zom mod, i need of script for round (in 5 min, round restart)
so idk how create it, wait (time); is for sec but i know that 5 min = 300 sec but i want see the hud ingame: "round restart: 5:00" in 5 min, a random hunter go in zom and the others go in hunter... i think, all the players here knows it :D
but for create the script...
thx to help me
xfire: ordi37zk

Peterlankton
16th April 2014, 13:38
First create a new hud element for the "Round restart: " part.


level.roundhud = newHudElem();

Then set the text, positition it, etc.

Afterwards create another hud, but instead of setting a text, this time set a timer.


level.roundtimer = setTimer(time);