setDevelopmentMode
Client
Turns development mode on or off on this client. While it is on, the showcol and showsound console commands draw the collision shapes and the world sounds.
bool setDevelopmentMode(bool enabled [, bool enableWeb = false])
Parameters
| Name | Type | Description |
|---|---|---|
| enabled | bool | true to turn it on. |
| enableWeb | bool | Accepted, but does nothing.default false |
Returns
true.
Example
addCommandHandler("devmode", function()
setDevelopmentMode(not getDevelopmentMode())
end)