-
... connecting
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
-
Forum Rules