Difference between revisions of "0006"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''SET_LVAR_INT'''
| ini        = 0006=2,%1d% %2d%
+
<hr />
| description = Sets the value of a local variable to a specified integer
+
'''Description'''
| p1          = Local variable
+
: Sets the value of a local variable to a specified integer.
| p2          = Integer value
+
'''Syntax'''
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
: 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.
 
This opcode sets the value of a local variable to a specified integer.
  
==Keywords==
+
== Keywords ==
global, integer, variable, math
+
set, local, integer, variable, math
  
[[Category:Math_OpCodes]]
+
[[Category:Math OpCodes]]

Revision as of 21:10, 27 January 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