gta.isCheatEnabled: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem
|endpoint = client
|endpoint = client
|games = iii, vc, sa
|type = function
|type = function
|name = gta.isCheatEnabled
|name = gta.isCheatEnabled
Line 8: Line 9:
|return1 = bool Whether the specified cheat is enabled.
|return1 = bool Whether the specified cheat is enabled.
|returnFail1 = void
|returnFail1 = void
|notes = [[Server/Defines#GTA_III_-_Cheat_Defines|III Cheat Defines]]
|notes = [[Server/Defines#GTA_III_-_Cheat_Defines|III Cheat Defines]]<br>
[[Server/Defines#GTA_VC_-_Cheat_Defines|VC Cheat Defines]]<br>
[[Server/Defines#GTA_SA_-_Cheat_Defines|SA Cheat Defines]]
}}
}}

Latest revision as of 06:47, 19 May 2021

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

Available since Client 1.0.0

bool gta.isCheatEnabled(int cheatId)

The gta.isCheatEnabled function is used to check if a cheat is enabled.

Parameters

1) int cheatId The integer ID of the cheat.

Return

bool Whether the specified cheat is enabled.

Notes

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png gta.isCheatEnabled
icon-iii.png icon-vc.png icon-sa.png gta.setCheatEnabled