Difference between revisions of "008E"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
<code>008E=2,%1d% %2d%</code><br>
 
<code>008E=2,%1d% %2d%</code><br>
'''Description''': Changes a float to an integer<br>
+
'''Description''': Converts a float to an integer<br>
 
'''Parameter 1''': Variable to store an integer<br>
 
'''Parameter 1''': Variable to store an integer<br>
'''Parameter 2''': Float value<br>
+
'''Parameter 2''': Variable to pass a float value<br>
 
'''Supports''': GTA3, Vice City, San Andreas<br>
 
'''Supports''': GTA3, Vice City, San Andreas<br>
  
This opcode changes a float value into an integer value.
+
This opcode converts a float value into an integer value. The parameters are both the variables.
  
 
==Keywords==
 
==Keywords==
float, integer, change
+
math, conversion, float, integer
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

Revision as of 06:53, 15 May 2007

008E=2,%1d% %2d%
Description: Converts a float to an integer
Parameter 1: Variable to store an integer
Parameter 2: Variable to pass a float value
Supports: GTA3, Vice City, San Andreas

This opcode converts a float value into an integer value. The parameters are both the variables.

Keywords

math, conversion, float, integer