ShowCol

From Multi Theft Auto: Wiki
Revision as of 18:18, 21 March 2021 by Cleopatradev (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