Difference between revisions of "0008"

From GTAMods Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
<hr />
 
<hr />
 
'''Description'''
 
'''Description'''
: Adds the value stored in the global variable by the specified integer
+
: Adds the value stored in the global variable by the specified integer value
 
'''Syntax'''
 
'''Syntax'''
 
: 0008: [''global var''] += [''int'']
 
: 0008: [''global var''] += [''int'']
Line 13: Line 13:
  
 
== Keywords ==
 
== Keywords ==
global, variable, var, integer, add
+
global, variable, var, integer, add, [[math]]
  
 
== See also ==
 
== See also ==

Latest revision as of 09:44, 6 February 2015

GTA III Vice City San Andreas ADD_VAL_TO_INT_VAR


Description

Adds the value stored in the global variable by the specified integer value

Syntax

0008: [global var] += [int]
[global var] += [int]

Parameter

[global var]
Global variable
[int]
Integer value

Keywords

global, variable, var, integer, add, math

See also

  • 0009 – adds global var by flt
  • 000A – adds local var by int
  • 000B – adds local var by flt