Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0090

Opcode Database

0090

DescriptionConverts the float value of the local variable to an integer (via flooring) and stores the result to the global variable.
Parameters (v2)1) (Returned) Global variable (VAR_INT)
2) Local variable (LVAR_FLOAT)
Gamessa vc iii
CategoryCommon, Math
San Andreas
sascm.ini0090=2,%1d% = float_to_int %2d%
Example0090: $int = float_to_int 0@
Command NameCSET_VAR_INT_TO_LVAR_FLOAT
Vice City
sascm.ini0090=2,%1d% = float_to_int %2d%
Example0090: $int = float_to_int 0@
GTA III
gtascm.ini0090=2,%1d% = float_to_int %2d%
Example0090: $int = float_to_int 0@

<< 008F

0091 >>