GTAG - Modding - Opcode Database - 0005
Opcode Database
0005
| Description | Sets the float value of the VAR. |
|---|---|
| Parameters (v2) | 1) (Returned) Global variable (VAR_FLOAT) 2) Float (FLOAT) |
| Games | |
| Category | Common, Math |
| San Andreas | |
| sascm.ini | 0005=2,%1d% = %2d% |
| Example | 0005: $166 = 292.33 |
| Command Name | SET_VAR_FLOAT |
| Vice City | |
| sascm.ini | 0005=2,%1d% = %2d% |
| Example | 0005: $585 = 304.5 |
| GTA III | |
| gtascm.ini | 0005=2,%1d% = %2d% |
| Example | 0005: $2 = 0.0625 |

