Difference between revisions of "0008"

From GTAMods Wiki
Jump to navigation Jump to search
(Keywords)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
 
| ini        = 0008=2,%1d% += %2d%
 
| ini        = 0008=2,%1d% += %2d%
| description = Adds an integer to a global variable.   
+
| description = Adds an integer value to a global variable.   
 
| p1          = global variable
 
| p1          = global variable
 
| p2          = an integer value
 
| p2          = an integer value

Revision as of 17:35, 8 October 2010

{{{games}}}


Description
Adds an integer value to a global variable.
Syntax
{{{syntax1}}}
Parameter

This opcode adds an integer value to the value of a specific global variable.

Sanny Builder Example

0008: $89 += 1

Keywords

global, variable, integer value, add