Difference between revisions of "0005"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''SET_VAR_FLOAT'''
| ini        = 0005=2,%1d% %2d%
+
<hr />
| description = Sets the value of a global variable to a specified float
+
'''Description'''
| p1          = Global variable
+
: Sets the value of a global variable to a specified float.
| p2          = Float value
+
'''Syntax'''
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
: 0005: [''global var''] = [''flt'']
}}
+
: [''global var''] = [''flt'']
 +
'''Parameter'''
 +
: [''global var'']
 +
:: Global variable
 +
: [''flt'']
 +
:: Floating-point value
 +
 
 
This opcode sets the value of a global variable to a specified float.
 
This opcode sets the value of a global variable to a specified float.
  
==Keywords==
+
== Keywords ==
global, float, variable, math
+
set, global, float, variable, math
  
[[Category:Math_OpCodes]]
+
[[Category:Math OpCodes]]

Revision as of 03:35, 27 December 2014

GTA III Vice City San Andreas SET_VAR_FLOAT


Description

Sets the value of a global variable to a specified float.

Syntax

0005: [global var] = [flt]
[global var] = [flt]

Parameter

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

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

Keywords

set, global, float, variable, math