# Cheat Type Used

Grammar — Used cheat type
FlagsNative | Function

Returns the cheat a player used. Only usable in response to a Cheat Used event.

Returns — int [ preset::GameCheatType ]

native int EventCheatUsed();

# Supported triggers

Category: Game / Chat And Console

# Examples

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L6304
EventCheatUsed()

# mods/missionpacks/novacampaign.sc2mod

LibNCMI.galaxy

// L5240
EventCheatUsed()