M MY Multiplayer: Wiki
Side
Kind

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

NameTypeDescription
enabledbooltrue to turn it on.
enableWebboolAccepted, but does nothing.default false

Returns

true.

Example

addCommandHandler("devmode", function()
    setDevelopmentMode(not getDevelopmentMode())
end)

See also