Dgs/DgsDxCreateGridList

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

Syntax

Not completed

element dgsDxCreateGridList( float x, float y, float width, float height, bool relative,[ element parent = nil] )

Optional Arguments

NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments. Not completed

  • parent: This is the parent that the DGS button is attached to. If the relative argument is true, sizes and positioning will be made relative to this parent. If the relative argument is false, positioning will be the number of offset pixels from the parent's origin. If no parent is passed, the parent will become the screen - causing positioning and sizing according to screen positioning.

Returns

Returns an element of the created gridlist if it was successfully created, false otherwise.