Difference between revisions of "0004"

From GTAMods Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
== Keywords ==
 
== Keywords ==
 
set, global, integer, variable, math
 
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
  
 
[[Category:OpCodes]][[Category:Math OpCodes]]
 
[[Category:OpCodes]][[Category:Math OpCodes]]

Revision as of 15:14, 3 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