Difference between revisions of "0001"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
'''Number of parameters:''' 1
+
<code>0001=1,%1d%</code><br>
 +
'''Description''': Stops execution of thread<br>
 +
'''Parameter 1''': Time to wait (in milliseconds)<br>
 +
'''Supports''': GTA3, Vice City, San Andreas<br>
  
'''Works in:''' <br>SA
+
This opcode stops an execution of the thread for specified amount of time in ms. 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.
  
'''Parameters:'''
+
==Keywords==
 
+
wait, thread
$int (integer) = Time in MS to wait
 
 
 
'''Description:'''
 
 
 
waits for $int (time in ms); 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.
 
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

Revision as of 04:35, 6 June 2007

0001=1,%1d%
Description: Stops execution of thread
Parameter 1: Time to wait (in milliseconds)
Supports: GTA3, Vice City, San Andreas

This opcode stops an execution of the thread for specified amount of time in ms. 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.

Keywords

wait, thread