Difference between revisions of "Template:OpCode"

From GTAMods Wiki
Jump to navigation Jump to search
(new template)
(legacy template no longer needed)
 
Line 1: Line 1:
<includeonly><!--
+
<includeonly>{{{games}}} {{#if:{{{command|}}}|'''{{{command}}}'''}}
legacy template
 
-->{{#if:{{{ini|}}}|<code>{{{ini}}}</code><br>{{#if:{{{description|}}}|'''Description''': {{{description}}}<br>}}{{#if:{{{p1|}}}|'''Parameter 1''': {{{p1}}}<br>}}{{#if:{{{p2|}}}|'''Parameter 2''': {{{p2}}}<br>}}{{#if:{{{p3|}}}|'''Parameter 3''': {{{p3}}}<br>}}{{#if:{{{p4|}}}|'''Parameter 4''': {{{p4}}}<br>}}{{#if:{{{p5|}}}|'''Parameter 5''': {{{p5}}}<br>}}{{#if:{{{p6|}}}|'''Parameter 6''': {{{p6}}}<br>}}{{#if:{{{p7|}}}|'''Parameter 7''': {{{p7}}}<br>}}{{#if:{{{p8|}}}|'''Parameter 8''': {{{p8}}}<br>}}{{#if:{{{p9|}}}|'''Parameter 9''': {{{p9}}}<br>}}{{#if:{{{p10|}}}|'''Parameter 10''': {{{p10}}}<br>}}{{#if:{{{p11|}}}|'''Parameter 11''': {{{p11}}}<br>}}{{#if:{{{p12|}}}|'''Parameter 12''': {{{p12}}}<br>}}{{#if:{{{p13|}}}|'''Parameter 13''': {{{p13}}}<br>}}{{#if:{{{p14|}}}|'''Parameter 14''': {{{p14}}}<br>}}{{#if:{{{p15|}}}|'''Parameter 15''': {{{p15}}}<br>}}{{#if:{{{p16|}}}|'''Parameter 16''': {{{p16}}}<br>}}{{#if:{{{game|}}}|'''Supports''': {{{game}}}<br>}}{{#if:{{{native|}}}|'''Analogous to GTA IV''': {{{native}}}<br>}}|<!--
 
current template
 
-->{{{games}}} {{#if:{{{command|}}}|'''{{{command}}}'''}}
 
 
<hr />
 
<hr />
 
<dl class="opcode">
 
<dl class="opcode">
Line 72: Line 68:
 
<dt>Native analog</dt>
 
<dt>Native analog</dt>
 
<dd>{{{native}}}</dd>}}<!--
 
<dd>{{{native}}}</dd>}}<!--
--></dl>}}[[Category:OpCodes]]</includeonly><noinclude>
+
--></dl>[[Category:OpCodes]]</includeonly><noinclude>
 
<pre>{{OpCode
 
<pre>{{OpCode
 
| games      = list of supported games, required field
 
| games      = list of supported games, required field
Line 88: Line 84:
 
| games      = {{Icon|t}}
 
| games      = {{Icon|t}}
 
| command    = WAIT
 
| command    = WAIT
| description = Stops the execution of a [[thread|script]]
+
| description = Stops the execution of a [[script]]
 
| syntax1    = 0001: wait [''int''] ms
 
| syntax1    = 0001: wait [''int''] ms
 
| syntax2    = wait [''int'']
 
| syntax2    = wait [''int'']

Latest revision as of 10:27, 22 December 2016

{{OpCode
| games       = list of supported games, required field
| command     = command name
| description = brief description, required field
| syntax1     = common syntax, required field
| syntax2     = alternative syntax
| syntax3     = alternative syntax
| p(1-13)t    = parameter type
| p(1-13)d    = parameter description
| native      = native analog
}}

GTA III Vice City San Andreas WAIT


Description
Stops the execution of a script
Syntax
0001: wait [int] ms
wait [int]
Parameter
[int]
Time to wait in milliseconds
Native analog
WAIT