GTAG - Modding - Opcode Database - 04AE
Opcode Database
04AE
| Description | Stores the value of the second variable into the first variable. Is used with both floats and integers. In Rockstars Norths GTA3script compiler, this opcode is used when assigning a variable to the value of a constant. |
|---|---|
| Parameters (v2) | 1) Global variable (VAR) 2) Constant (INT) |
| Games | |
| Category | Math |
| San Andreas | |
| sascm.ini | 04AE=2,%1d% = %2d% |
| Example | 04AE: $ICON_CJ = 15 |
| Command Name | SET_VAR_INT_TO_CONSTANT |
| Vice City | |
| sascm.ini | 04AE=2,%1d% = %2d% ;; = constant |
| Example | 04AE: $421 = 4 // $ = constant |

