GTAG - Modding - Opcode Database - 04AF
Opcode Database
04AF
| Description | Stores the specified value into a variable. Is used with both floats and integers. In Rockstar Norths GTA3script compiler, this opcode is used when assigning a variable to the value of a constant. |
|---|---|
| Parameters (v2) | 1) Local variable (LVAR) 2) Constant (INT) |
| Games | |
| Category | Math |
| San Andreas | |
| sascm.ini | 04AF=2,%1d% = %2d% |
| Example | 04AF: 157@ = 43200 |
| Command Name | SET_LVAR_INT_TO_CONSTANT |
| Vice City | |
| sascm.ini | 04AF=2,%1d% = %2d% ;; = constant |
| Example | 04AF: 157@ = 43200 // @ = constant |

