The RedM developer’s field guide
Know the native.
Build the world.
Engine functions, framework docs, and game assets.
One reference. From the first lookup to the last line.
knowledge base
Explore / RedM
Native reference
- MISCBOOL
IS_PC_VERSION
Hardcoded to return true.
0xB0FB6CFAA5A1C833 - MISCBOOL
_IS_PED_DECOMPOSED
Description not yet documented
0x5170DDA6D63ACAAA - MISCBOOL
_IS_PLAYER_OWNING_STANDALONE_SP
Description not yet documented
0x36040772DF5E59A0 - MISCBOOL
IS_POSITION_OCCUPIED
Description not yet documented
0x825CA3ED43831015 - MISCBOOL
IS_PROJECTILE_IN_AREA
Determines whether there is a projectile within the specified coordinates. The coordinates form a rectangle. ownedByPlayer = only projectiles fired by the player will be detected.
0x05B0061EFDFC8941 - MISCBOOL
IS_PROJECTILE_TYPE_IN_ANGLED_AREA
Description not yet documented
0x928431F4133CD3D4 - MISCBOOL
IS_PROJECTILE_TYPE_IN_AREA
Determines whether there is a projectile of a specific type within the specified coordinates. The coordinates form a rectangle.
0x04965FB9E14235C7 - MISCBOOL
IS_PROJECTILE_TYPE_WITHIN_DISTANCE
Description not yet documented
0xF51C9BAAD9ED64C4 - MISCBOOL
IS_STADIA_VERSION
Hardcoded to return false.
0x268AB8420A9E4ED7 - MISCBOOL
IS_STRING_NULL
Description not yet documented
0x602102324604D96B - MISCBOOL
IS_STRING_NULL_OR_EMPTY
Description not yet documented
0x2CF12F9ACF18F048 - MISCBOOL
IS_STRING_NULL_OR_EMPTY_OR_SPACES
Returns true if the entire string consists only of space characters.
0x375F5870A7B8BEC1 - MISCvoid
_LOOT_TABLES_GET_INFO
Description not yet documented
0x48E4D50F87A96AA5 - MISCvoid
NETWORK_SET_SCRIPT_IS_SAFE_FOR_NETWORK_GAME
Description not yet documented
0x3D0EAC6385DD6100 - MISCvoid
NEXT_ONSCREEN_KEYBOARD_RESULT_WILL_DISPLAY_USING_THESE_FONTS
Description not yet documented
0x5CB71EAA1429A358 - MISCBOOL
OVERRIDE_SAVE_HOUSE
Description not yet documented
0xB2C69E11A37B5AF0 - MISCvoid
PAUSE_DEATH_ARREST_RESTART
Description not yet documented
0x66AB6B6C7E72F393 - MISCvoid
POPULATE_NOW
spawns a few distant/out-of-sight peds, vehicles, animals etc each time it is called
0xEA6DC3A8ADD2005F - MISCBOOL
_QUEUE_SAVEGAME_OPERATION
p0 must be < 2
0x279B0696DA4657EB - MISCfloat
_READ_INT_AS_FLOAT
Reads the passed value as floating point value and returns it. Example: _READ_INT_AS_FLOAT(0x3F800000) returns 1.0f because 0x3F800000 is the hexadecimal representation of 1.0f.
0xD2C9126410DFA1B2 - MISCBOOL
REGISTER_INTERACTION_LOCKON_PROMPT
p3 is usually the same value of radius p8 determines whether the ILO prompt is a lock on prompt with RMB
0x870708A6E147A9AD - MISCvoid
REMOVE_DISPATCH_SPAWN_BLOCKING_AREA
Description not yet documented
0x49F751F6868DDC5B - MISCvoid
REMOVE_POP_MULTIPLIER_AREA
Description not yet documented
0x88CB484364EFB37A - MISCvoid
_REMOVE_POP_MULTIPLIER_AREA_FOR_VOLUME
Description not yet documented
0xBD090F5B1DB82189 - MISCvoid
RESET_DISPATCH_IDEAL_SPAWN_DISTANCE
Description not yet documented
0xC7817264BC4B6377 - MISCvoid
_RESET_DISPATCH_MAX_SPAWN_DISTANCE
Description not yet documented
0x54EC7B6BC72BAD69 - MISCvoid
_RESET_DISPATCH_MIN_SPAWN_DISTANCE
Description not yet documented
0x96498D922D8D0D0A - MISCvoid
RESET_END_USER_BENCHMARK
Begins with RESET_*. Next character in the name is either D or E. Old name: _RESET_BENCHMARK_RECORDING
0xECBABD0307FB216F - MISCvoid
RESET_SCRIPT_TIME_WITHIN_FRAME
Description not yet documented
0x1411A7CBC3A6EB7B - MISCvoid
RESET_WANTED_RESPONSE_NUM_PEDS_TO_SPAWN
Description not yet documented
0xEF42F56F69877125 - MISCvoid
SAVE_END_USER_BENCHMARK
Saves the benchmark recording to %USERPROFILE%\Documents\Rockstar Games\Red Dead Redemption 2\Benchmarks and submits some metrics. Old name: _SAVE_BENCHMARK_RECORDING
0xF4743E2ECC02B3DA - MISCBOOL
SCRIPT_RACE_GET_PLAYER_SPLIT_TIME
Description not yet documented
0x769E848C66E3C2BB - MISCvoid
SCRIPT_RACE_INIT
Description not yet documented
0x8AE059F47158417E - MISCvoid
SCRIPT_RACE_PLAYER_HIT_CHECKPOINT
Description not yet documented
0xBA62B4D80FA66BD6 - MISCvoid
SCRIPT_RACE_SHUTDOWN
Description not yet documented
0x334CE0DA4FAF330C - MISCvoid
_SET_AI_MEMORY_REACTIONS_ENABLED
Used in CAIConditionAmbientAIMemoryReactionsEnabled
0x6AC4AF46A6B8DFB2 - MISCvoid
SET_BIT
Description not yet documented
0xF73FBE4845C43B5B - MISCvoid
_SET_BIT_FLAG
Similar to SET_BIT but specifically designed for large (>32 flags) bit flag sets. The flags are stored in an int array where each int has the ability to hold 32 flags. Flags 0-31 would be stored in the first int, flags 32-63 in the second int, etc.
0xE84AAC1B22A73E99 - MISCvoid
SET_BITS_IN_RANGE
Description not yet documented
0x324DC1CEF57F31E6 - MISCvoid
SET_CHEAT_ACTIVE
Cheats are GTA IV cheats: 0 = unknown 1 = unknown (same as 0) 2 = Max Health and Armor 3 = Raise Wanted Level 4 = Lower Wanted Level 5 = unknown (does nothing) 6 = Change Weather 7 = Spawn Annihilator 8 = Spawn NRG 900 9 = Spawn FBI 10 = Spawn Jetmax 11 = Spawn Comet 12 = Spawn Turismo 13 = Spawn Cognoscenti 14 = Spawn Super GT 15 = Spawn Sanchez Initially used in Max Payne 3, that's why we know the name.
0xD4958E8CF0DE0DD0
A living reference. Documentation coverage varies by native and source.