0004

From GTAMods Wiki
Revision as of 21:57, 5 February 2015 by Seemann (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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