Difference between revisions of "0009"

From GTAMods Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
: Adds the value stored in the global variable by the specified floating-point value
 
: Adds the value stored in the global variable by the specified floating-point value
 
'''Syntax'''
 
'''Syntax'''
: 0008: [''global var''] += [''float'']
+
: 0009: [''global var''] += [''float'']
 
: [''global var''] += [''float'']
 
: [''global var''] += [''float'']
 
'''Parameter'''
 
'''Parameter'''
Line 13: Line 13:
  
 
== Keywords ==
 
== Keywords ==
global, variable, var, float, add
+
global, variable, var, float, add, [[math]]
  
 
== See also ==
 
== See also ==

Latest revision as of 09:44, 6 February 2015

GTA III Vice City San Andreas ADD_VAL_TO_FLOAT_VAR


Description

Adds the value stored in the global variable by the specified floating-point value

Syntax

0009: [global var] += [float]
[global var] += [float]

Parameter

[global var]
Global variable
[float]
Floating-point value

Keywords

global, variable, var, float, add, math

See also

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