GTAG - Modding - Opcode Database - 0083
Opcode Database
0083
| Description | Multiplies 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) |
| Games | |
| Category | Draw, Math |
| San Andreas | |
| sascm.ini | 0083=2,%1d% -= frame_delta_time * %2d% |
| Example | 0083: $float -= frame_delta_time * 0@ |
| Command Name | SUB_TIMED_FLOAT_LVAR_FROM_FLOAT_VAR |
| Vice City | |
| sascm.ini | 0083=2,%1d% -= frame_delta_time * %2d% |
| Example | 0083: $float -= frame_delta_time * 0@ |
| GTA III | |
| gtascm.ini | 0083=2,%1d% -= frame_delta_time * %2d% |
| Example | 0083: $float -= frame_delta_time * 0@ |

