ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. isGlitchEnabled

Function

isGlitchEnabled

ServerWorldIdentical to MTA:SA

Returns whether a glitch was enabled with setGlitchEnabled (all off by default).

Syntax

bool isGlitchEnabled(string glitch)

Arguments

glitchstring
Glitch name.

Returns

true when enabled.

Example

outputDebugString(tostring(isGlitchEnabled("fastfire")))

See also