Difference between revisions of "0004"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 15: Line 15:
  
 
== Keywords ==
 
== Keywords ==
set, global, integer, variable, math
+
set, global, integer, variable, [[math]]
  
 
== See also ==
 
== See also ==

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