Results 1 to 3 of 3

Thread: Not ready yet

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ... connecting Dusza's Avatar
    Join Date
    Feb 2015
    Location
    Poland
    Posts
    6
    Thanks
    2
    Thanked 1 Time in 1 Post

    Not ready yet

    Hello guys.

    I have little problem. For most of u it's probably funny, but I am begginer :P. I have tha script for elevator (spikes which closed way to bunker)

    elevator()
    {
    elevator=getent("elevator","targetname");
    trig=getent("trig_elevator","targetname");
    while(1)
    {
    trig waittill ("trigger");
    elevator movez (-40,2);
    elevator waittill ("movedone");
    wait(15);
    elevator movez (40,2);
    elevator waittill ("movedone");
    wait(90);
    }
    }

    But I want to say "Fuck off, It's not ready yet" to user who press trigger again before 90 seconds passed. It's break, because noobs will close that way all time so they have to wait 90 seconds to use it again.

    Where should i put that ? I mean message on screen (like printbold)
    Last edited by Dusza; 29th July 2016 at 23:49.

Posting Permissions

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