Mmg wait event: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle Created page with '{{ #vardefine:name|mmg_wait_event}}{{ #vardefine:return_type|int}}{{ FunctionPage| name={{#var:name}}| function_category=Money Making Game| function1={{Function| name={{#var:na…' |
imported>StDoodle mNo edit summary |
||
Line 13: | Line 13: | ||
return_also={{#var:return_also}}| | return_also={{#var:return_also}}| | ||
parameter1={{Param|int|delay}}| | parameter1={{Param|int|delay}}| | ||
p1desc={{Pspan|delay}} is the number of | p1desc={{Pspan|delay}} is the number of milliseconds to wait| | ||
}}| | }}| | ||
function_description=Waits for {{pspan|delay}} | function_description=Waits for {{pspan|delay}} milliseconds for KoL to report on an outstanding bet being taken. Returns the bet ID # of the taken bet.| | ||
needscode=yes| | needscode=yes| |
Revision as of 16:59, 4 April 2010
needs(code_samples);
Function Syntax
int mmg_wait_event(int delay )
- delay is the number of milliseconds to wait
Waits for delay milliseconds for KoL to report on an outstanding bet being taken. Returns the bet ID # of the taken bet.
Special
Returns 0 if KoL does not report a bet taken in the time specified.