Difference between revisions of "0006"

From GTAMods Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:
  
 
== Keywords ==
 
== Keywords ==
set, local, integer, variable, math
+
set, local, integer, variable, [[math]]
  
[[Category:Math OpCodes]]
+
== See also ==
 +
* [[0004]] – sets int value of global var
 +
* [[0005]] – sets flt value of global 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_LVAR_INT


Description

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

Syntax

0006: [local var] = [int]
[local var] = [int]

Parameter

[local var]
Local variable
[int]
Integer value

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

Keywords

set, local, integer, variable, math

See also

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