# GameCheatIsAllowed
Flags —
Native
# Arguments
int
— cheat
Returns — bool
native bool GameCheatIsAllowed(int cheat);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:1972
lv_index = 0;
for ( ; ( (auto384D4A4D_ai >= 0 && lv_index <= auto384D4A4D_ae) || (auto384D4A4D_ai < 0 && lv_index >= auto384D4A4D_ae) ) ; lv_index += auto384D4A4D_ai ) {
libNtve_gv__CineModeSavedCheatAllowed[lv_index] = GameCheatIsAllowed(lv_index);
}
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1662
lv_index = 0;
for ( ; ( (auto384D4A4D_ai >= 0 && lv_index <= auto384D4A4D_ae) || (auto384D4A4D_ai < 0 && lv_index >= auto384D4A4D_ae) ) ; lv_index += auto384D4A4D_ai ) {
libNtve_gv__CineModeSavedCheatAllowed[lv_index] = GameCheatIsAllowed(lv_index);
}
}