Difference between revisions of "0004"

From GTAMods Wiki
Jump to navigation Jump to search
(what a mess)
m
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
 
| ini        = 0004=2,%1d% %2d%
 
| ini        = 0004=2,%1d% %2d%
| description = Sets the value of a global variable a specified integer.
+
| description = Sets the value of a global variable to a specified integer.
 
| p1          = global variable
 
| p1          = global variable
 
| p2          = integer value
 
| p2          = integer value
 
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
 
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
 
}}
 
}}
This opcode sets a global variable to a specified integer.
+
This opcode sets the value of a global variable to a specified integer.
 
[[Category:Math_OpCodes]]
 
[[Category:Math_OpCodes]]

Revision as of 16:25, 6 February 2009

{{{games}}}


Description
Sets the value of a global variable to a specified integer.
Syntax
{{{syntax1}}}
Parameter

This opcode sets the value of a global variable to a specified integer.