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
- MISCfloat
GET_RANDOM_FLOAT_IN_RANGE
Description not yet documented
0xE29F927A961F8AAA - MISCint
GET_RANDOM_INT_IN_RANGE
Description not yet documented
0xD53343AA4FB7DD28 - MISCHash
_GET_RANDOM_WEATHER_TYPE
Description not yet documented
0x1359C181BC625503 - MISCint
_GET_RANDOM_WEATHER_TYPE_INDEX
Description not yet documented
0x7F4CE164D9A11DFE - MISCint
GET_REAL_WORLD_TIME
Returns GET_GAME_TIMER() / 1000 Only used in rcm_pearson1.ysc
0x2E036F0480B8BF02 - MISCint
GET_SCRIPT_TIME_WITHIN_FRAME_IN_MICROSECONDS
Description not yet documented
0x63219768C586667C - MISCfloat
GET_SNOW_LEVEL
Description not yet documented
0x1E5D727041BE1709 - MISCint
_GET_STATUS_OF_SAVEGAME_OPERATION
Only 0 and 1 are valid for p0, higher values causes the native to return 2.
0x1B065A2BF7953815 - MISCconst char*
_GET_STRING_FROM_BOOL
Description not yet documented
0xF216F74101968DB0 - MISCconst char*
_GET_STRING_FROM_FLOAT
Description not yet documented
0x2B6846401D68E563 - MISCconst char*
_GET_STRING_FROM_VECTOR
Returns a string in the following format: <<%.4f,%.4f,%.4f>>
0x6C4DBF553885F9EB - MISCint
GET_SYSTEM_TIME
Description not yet documented
0xBE7F225417E35A7C - MISCfloat
GET_SYSTEM_TIME_STEP
Old name: _GET_BENCHMARK_TIME
0x3F3172FEAE3AFE1C - MISCfloat
_GET_TEMPERATURE_AT_COORDS
Description not yet documented
0xB98B78C3768AF6E0 - MISCVehicle
_GET_VEHICLE_FROM_INDEXED_ITEM
Description not yet documented
0xE578C8AE173719B3 - MISCVolume
_GET_VOLUME_FROM_INDEXED_ITEM
Description not yet documented
0xF18AF483DF70BBDE - MISCVector3
GET_WIND_DIRECTION
Description not yet documented
0xF703E82F3FE14A5F - MISCfloat
GET_WIND_SPEED
Description not yet documented
0xFFB7E74E041150A4 - MISCBOOL
_HAS_BULLET_IMPACTED_ENTITY
returns true if a bullet impacted the entity
0x7A76104CC2CC69E8 - MISCBOOL
HAS_BULLET_IMPACTED_IN_AREA
p3 - possibly radius?
0xC153E5BCCF411814 - MISCBOOL
HAS_BULLET_IMPACTED_IN_BOX
Description not yet documented
0x3B6A4C05FB2B33AC - MISCvoid
IGNORE_NEXT_RESTART
Description not yet documented
0x6C9FF40FF1B69F8F - MISCvoid
INFORM_CODE_OF_CONTENT_ID_OF_CURRENT_UGC_MISSION
Description not yet documented
0x708DF841B8F27AA2 - MISCvoid
_INT_TO_STRING
Note: the buffer should be exactly 32 bytes long
0xCF11C0CEB40C401B - MISCBOOL
_IS_ANY_BIT_FLAG_SET
Description not yet documented
0x80E9C316EF84DD81 - MISCBOOL
_IS_BASE_A_COVER_POINT
Description not yet documented
0xFEC1D4B5C82C176F - MISCBOOL
_IS_BASE_A_PERSISTENT_CHARACTER
Description not yet documented
0x716F17F8A0419F95 - MISCBOOL
_IS_BIT_FLAG_SET
Description not yet documented
0x8F4F050054005C27 - MISCBOOL
IS_BIT_SET
Description not yet documented
0x4ED6CFDFE8D4131A - MISCBOOL
IS_BULLET_IN_ANGLED_AREA
Description not yet documented
0x9D09D8493747CF02 - MISCBOOL
IS_BULLET_IN_AREA
Description not yet documented
0xC652FD308772D79E - MISCBOOL
IS_BULLET_IN_BOX
Description not yet documented
0xC128137C52152741 - MISCBOOL
IS_DURANGO_VERSION
Hardcoded to return false. Checks for XBOXONE Game Build.
0xD1CCC2A2639D325F - MISCBOOL
IS_GAME_SESSION_STATE_MACHINE_IDLE
Description not yet documented
0xF9E7DBB39080640B - MISCBOOL
_IS_GLOBAL_BLOCK_VALID
Description not yet documented
0xACB7E1418A8B6E32 - MISCBOOL
IS_INCIDENT_VALID
Description not yet documented
0x39F2B1BAD412246A - MISCBOOL
IS_MAG_DEMO_1_ACTIVE
magdemo = magazine demo, i. e. for magazines such as IGN, pre play phases to prepare articles etc. - example 2012 builds for V Hardcoded to return false.
0x5FC9357C26DAEFCE - MISCBOOL
IS_MINIGAME_IN_PROGRESS
Description not yet documented
0xF4D8BCD052E7EA1B - MISCBOOL
_IS_MISSION_CREATOR_ACTIVE
Description not yet documented
0xF236C84C6ADFCB2F - MISCBOOL
IS_ORBIS_VERSION
Hardcoded to return false. Checks for PS4 Game Build.
0x88CFAE250D3E0C71
A living reference. Documentation coverage varies by native and source.