-
Round script
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
-
First create a new hud element for the "Round restart: " part.
PHP Code:
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.
PHP Code:
level.roundtimer = setTimer(time);