Notice: Failed to invoke Pygments: [Called from MediaWiki\SyntaxHighlight\SyntaxHighlight::highlightInner in /home/pi/www/gtac/wiki/wiki/extensions/SyntaxHighlight_GeSHi/includes/SyntaxHighlight.php at line 334] in /home/pi/www/gtac/wiki/wiki/includes/debug/MWDebug.php on line 507
gta.setCheatEnabled - GTA Connected

gta.setCheatEnabled

Function Client Only icon-iii.png icon-vc.png icon-sa.png Online and Offline

Available since Client 1.0.0
void gta.setCheatEnabled(int cheatId, bool enabled)
The gta.setCheatEnabled function is used to set a cheat enabled or disabled.

Parameters

1) int cheatId The integer ID of the cheat.
2) bool enabled Whether the cheat should be enabled.

Return

void This function doesn't return a value.

Notes

VC Cheat Defines
SA Cheat Defines.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

      gta.isCheatEnabled
      gta.setCheatEnabled