GTAG - Modding - Opcode Database - 038E
Opcode Database
038E
| Description | Draws a box at the specified on screen X and Y position, with the specified size and RGBA colours. Box will remain visible until text draw is turned off. |
|---|---|
| Parameters (v2) | 1) X screen coordinate (Float) (INT) 2) Y screen coordinate (Float) (INT) 3) Size (FLOAT) 4) Size (FLOAT) 5) Red (0 to 255) (INT) 6) Green (0 to 255) (INT) 7) Blue (0 to 255) (INT) 8) Alpha (0 to 255) (INT) |
| Games | |
| Category | Common, Draw |
| Command Name (IV) | DRAW_RECT |
| San Andreas | |
| sascm.ini | 038E=8,draw_rect %1d% %2d% size %3d% %4d% colour %5h% %6h% %7h% %8d% |
| Example | 038E: draw_rect 320.0 224.0 size 640.0 448.0 colour 0 0 0 255 |
| Command Name | DRAW_RECT |
| Vice City | |
| sascm.ini | 038E=8,draw_box_position %1d% %2d% size %3d% %4d% RGBA %5h% %6h% %7h% %8d% ;; never used in VC or GTA 3 |
| Example | |
| Command Name | DRAW_RECT |

