0001

From GTAMods Wiki
Revision as of 07:56, 14 January 2010 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search

{{{games}}}


Description
Stops the execution of a thread
Syntax
{{{syntax1}}}
Parameter
Native analog
WAIT

This opcode stops an execution of the thread for specified amount of time in ms. In both the Mission Builder and Sanny Builder, you can type wait instead. A parameter value of 0 (wait 0 ms) means that the thread will regain focus as soon as possible, whereas values greater than 0 denote the minimum time span that has to go by before the thread is revisited. A wait is required for almost all loops.

Keywords

wait, thread