Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0083

Opcode Database

0083

DescriptionMultiplies the frame delta time (the time in milleseconds that has passed since the last frame) by float stored in the specified local variable. Then subtracts the result from the specified global variable.

This is made to be used with the texture drawing opcodes (mainly by minigames) to soften the annoyances of lag on some computers.
Parameters (v2)1) (Returned) Float (VAR_FLOAT)
2) Float (LVAR_FLOAT)
Gamessa vc iii
CategoryDraw, Math
San Andreas
sascm.ini0083=2,%1d% -= frame_delta_time * %2d%
Example0083: $float -= frame_delta_time * 0@
Command NameSUB_TIMED_FLOAT_LVAR_FROM_FLOAT_VAR
Vice City
sascm.ini0083=2,%1d% -= frame_delta_time * %2d%
Example0083: $float -= frame_delta_time * 0@
GTA III
gtascm.ini0083=2,%1d% -= frame_delta_time * %2d%
Example0083: $float -= frame_delta_time * 0@

<< 0082

0084 >>