Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 008C

Opcode Database

008C

DescriptionConverts the float in the second global variable to an integer (via flooring) and stores the integer into the first global variable.
Parameters (v2)1) (Returned) Global variable (VAR_INT)
2) Float (FLOAT)
Gamessa vc iii
CategoryCommon, Math
San Andreas
sascm.ini008C=2,%1d% = float_to_int %2d%
Example008C: $int = float_to_int $float
Command NameCSET_VAR_INT_TO_VAR_FLOAT
Vice City
sascm.ini008c=2,%1d% = float_to_integer %2d%
Example008C: $int = float_to_int $float
GTA III
gtascm.ini008c=2,%1d% = float_to_integer %2d%
Example008C: $int = float_to_int $float

<< 008B

008D >>