OnDgsRender

From Multi Theft Auto: Wiki

This event is triggered every time after dgs renders.

Parameters

None

Source

The source of this event is the client's root element.

Example

This example shows that we can draw a rectangle above dgs gui.

DGS = exports.dgs
edit = DGS:dgsCreateEdit(200,200,500,200,"test",false)

function drawAboveDGS ()
	dxDrawRectangle(200,200,500,200,tocolor(0,0,0,200),true) -- POSTGUI is always set to true
end
addEventHandler ( "onDgsRender", root, drawAboveDGS )

See Also

DGS events

Plugin

Media

Color Picker

QRCode

Remote Image

Client event functions