isGlitchEnabled
Server-side
Reads the synchronized Neon fastweaponstrafe state through MTA's existing glitch API.
Syntax
bool isGlitchEnabled(string glitchName)Arguments
glitchNamestringUse fastweaponstrafe.
Returns
true when enabled; false otherwise.
Ownership and lifecycle
Neon extends these existing MTA functions. Scripts should detect the extra capability or require a matching Neon build.
Important behavior
- A focused toggle/native-walking harness exists, but its commit records no in-game pass.
Example
local enabled = isGlitchEnabled("fastweaponstrafe")Where this comes from
SOURCECLuaWorldDefs.cppServer/mods/deathmatch/logic/luadefs/CLuaWorldDefs.cpp INTRODUCED / EXTENDED1c22304f5Read the commit and why the change was made TEST RESOURCE fastweaponstrafe-toggle test-resources/fastweaponstrafe-toggle
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Existing API extensions works →