ShowCol

From Multi Theft Auto: Wiki
Revision as of 11:14, 11 April 2021 by Myonlake (talk | contribs)
Jump to navigation Jump to search

Shows collision previews for developers.

Syntax

bool showCol ( bool state )

Required Arguments

  • state: true/false

Returns

  • If the operation is executed, it returns 'true', otherwise it returns 'false'.

Example

You can refer to the example below.

setDevelopmentMode(true)

addCommandHandler("devdebug",
    function()
        showCol(not isShowCollisionsEnabled())
    end
)

Requirements

This template will be deleted.

See Also