Results 1 to 2 of 2

Thread: Round script

  1. #1
    Private
    Join Date
    Aug 2013
    Posts
    95
    Thanks
    13
    Thanked 4 Times in 3 Posts

    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
    but for create the script...
    thx to help me
    xfire: ordi37zk

  2. #2
    Private
    Join Date
    Jul 2012
    Posts
    76
    Thanks
    9
    Thanked 56 Times in 38 Posts
    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); 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •