Difference between revisions of "0004"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
 
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:
  
 
== Keywords ==
 
== Keywords ==
set, global, integer, variable, math
+
set, global, integer, variable, [[math]]
  
[[Category:Math OpCodes]]
+
== See also ==
 +
* [[0005]] – sets flt value of global var
 +
* [[0006]] – sets int value of local var
 +
* [[0007]] – sets flt value of local var
 +
 
 +
[[Category:OpCodes]][[Category:Math OpCodes]]

Latest revision as of 21:57, 5 February 2015

GTA III Vice City San Andreas SET_VAR_INT


Description

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

Syntax

0004: [global var] = [int]
[global var] = [int]

Parameter

[global var]
Global variable
[int]
Integer value

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

Keywords

set, global, integer, variable, math

See also

  • 0005 – sets flt value of global var
  • 0006 – sets int value of local var
  • 0007 – sets flt value of local var