What's new

Solved waittill_or_timeout

Status
Not open for further replies.
F

FR34k

Newbie
Messages
21
Reaction score
2
Points
45
Sin$
0
Is there such a function? waittill_or_timeout();

or any timeout function of that sort?
 
D

dconnor

Enthusiast
Messages
755
Reaction score
187
Points
125
Sin$
0
Is there such a function? waittill_or_timeout();

or any timeout function of that sort?
Code:
//commonscripts\utility
/*
=============
///ScriptDocBegin
"Name: waittill_notify_or_timeout( <msg> , <timer> )"
"Summary: "
"Module: Entity"
"CallOn: An entity"
"MandatoryArg: <param1>: "
"OptionalArg: <param2>: "
"Example: "
"SPMP: both"
///ScriptDocEnd
=============
*/
waittill_notify_or_timeout( msg, timer )
{
self endon( msg );
wait( timer );
}
 
Upvote 0
Status
Not open for further replies.
Top Bottom
Login
Register