The Lab
MISC native

SET_CHEAT_ACTIVE

returns void1 parambuild 1207

Activates the cheat identified by cheatId.

Signature

C
void SET_CHEAT_ACTIVE(int cheatId); // 0xD4958E8CF0DE0DD0 b1207

Parameters

#NameType
1cheatIdint

Facts

Facts about SET_CHEAT_ACTIVE
Name
SET_CHEAT_ACTIVE
Hash
0xD4958E8CF0DE0DD0
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xD4958E8CF0DE0DD0, -- SET_CHEAT_ACTIVE
  0 -- int cheatId
)
JavaScript
Citizen.invokeNative("0xD4958E8CF0DE0DD0", // SET_CHEAT_ACTIVE
  0 // int cheatId
);
C#
Function.Call((Hash)0xD4958E8CF0DE0DD0, // SET_CHEAT_ACTIVE
  0 // int cheatId
);
All MISC natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.