DRAW RECT

From GTAModding
Jump to: navigation, search
DRAW_RECT
Number of parameters: 8
Parameter #TypeDescription
1.floatx-position
2.floaty-position
3.floatx-size
4.floaty-size
5.integerR
6.integerG
7.integerB
8.integerA
Return value:
TypeDescription
None

This draws a rectangle on the screen. The function has to be in a loop in order for the rectangle to appear.