Difference between revisions of "0007"

From GTAMods Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
== Keywords ==
 
== Keywords ==
 
set, local, float, variable, math
 
set, local, float, variable, math
 +
 +
== See also ==
 +
* [[0004]] – sets int value of global var
 +
* [[0005]] – sets flt value of global var
 +
* [[0006]] – sets int 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_LVAR_FLOAT


Description

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

Syntax

0007: [local var] = [flt]
[local var] = [flt]

Parameter

[local var]
Local variable
[flt]
Floating-point value

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

Keywords

set, local, float, variable, math

See also

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