Difference between revisions of "0005"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
'''Number of parameters:''' 2
+
{{OpCode
 
+
| ini        = 0005=2,%1d% %2d%
'''Works in:''' <br>III, VC, &amp; SA
+
| description = Sets the value of a global variable to a specified float
 
+
| p1          = Global variable
'''Parameters:'''
+
| p2          = Float value
 
+
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
$float = The global float pointer
+
}}
float = The global float value to be set
+
This opcode sets the value of a global variable to a specified float.
 
+
[[Category:Math_OpCodes]]
'''Description:'''
 
 
 
P1 = P2
 
 
 
[[Category:OpCodes]] [[Category:Math_OpCodes]]
 

Revision as of 07:56, 17 August 2009

{{{games}}}


Description
Sets the value of a global variable to a specified float
Syntax
{{{syntax1}}}
Parameter

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