Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 008E

Opcode Database

008E

DescriptionConverts the float value of the global variable to an integer (via flooring) and stores the result into a local variable.
Parameters (v2)1) (Returned) Local variable (LVAR_INT)
2) Float (FLOAT)
Gamessa vc iii
CategoryCommon, Math
San Andreas
sascm.ini008E=2,%1d% = float_to_int %2d%
Example008E: 0@ = float float to_integer
Command NameCSET_LVAR_INT_TO_VAR_FLOAT
Vice City
sascm.ini008E=2,%1d% = float_to_integer %2d%
Example008E: 0@ = float float to_integer
GTA III
gtascm.ini008E=2,%1d% = float_to_integer %2d%
Example008E: 0@ = float float to_integer

<< 008D

008F >>