GTAG - Modding - Opcode Database - 02F6
Opcode Database
02F6
| Description | Gets the X Coord of an angle. |
|---|---|
| Parameters (v2) | 1) Angle (Float) (FLOAT) 2) (Returned) X Offset (Float) (FLOAT) |
| Games | |
| Category | Common, Math |
| Command Name (IV) | SIN |
| San Andreas | |
| sascm.ini | 02F6=2,sin %1d% store_to %2d% |
| Example | 02F6: sin 45.0 store_to 14@ |
| Command Name | SIN |
| Vice City | |
| sascm.ini | 02F6=2,%2d% = sine %1d% ;; float |
| Example | 02F6: $972 = sine $981 |
| Command Name | SIN |
| GTA III | |
| gtascm.ini | 02F6=2,%2d% = sine %1d% |
| Example | 02F6: $972 = sine $981 |
| Command Name | SIN |

