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
- CLOCKvoid
_ADD_TIME_TO_DATE_TIME
Description not yet documented
0x28EEACE9B43D9597 - CLOCKvoid
ADD_TO_CLOCK_TIME
Description not yet documented
0xAB7C251C7701D336 - CLOCKvoid
ADVANCE_CLOCK_TIME_TO
Description not yet documented
0x0184750AE88D0B1D - CLOCKint
GET_CLOCK_DAY_OF_MONTH
Description not yet documented
0xDF2FD796C54480A5 - CLOCKint
GET_CLOCK_DAY_OF_WEEK
Gets the current day of the week. 0: Sunday 1: Monday 2: Tuesday 3: Wednesday 4: Thursday 5: Friday 6: Saturday
0x4DD02D4C7FB30076 - CLOCKint
GET_CLOCK_HOURS
Gets the current ingame hour, expressed without zeros. (09:34 will be represented as 9)
0xC82CF208C2B19199 - CLOCKint
GET_CLOCK_MINUTES
Gets the current ingame clock minute.
0x4E162231B823DBBF - CLOCKint
GET_CLOCK_MONTH
Description not yet documented
0x2D44E8FC79EAB1AC - CLOCKint
GET_CLOCK_SECONDS
Gets the current ingame clock second. Note that ingame clock seconds change really fast since a day in RDR is only 48 minutes in real life.
0xB6101ABE62B5F080 - CLOCKint
GET_CLOCK_YEAR
Description not yet documented
0xE136DCA28C4A48BA - CLOCKint
GET_MILLISECONDS_PER_GAME_MINUTE
Description not yet documented
0xE4CB8D126501EC52 - CLOCKvoid
GET_POSIX_TIME
Description not yet documented
0x90338AD4A784E455 - CLOCKvoid
_GET_POSIX_TIME_STRUCT
Same as GET_POSIX_TIME except that it takes a single pointer to a struct.
0x86A68E84E5884951 - CLOCKint
_GET_SECONDS_SINCE_BASE_YEAR
Base year is 1898.
0x78FD8BE812E436B2 - CLOCKvoid
PAUSE_CLOCK
Description not yet documented
0x4D1A590C92BF377E - CLOCKvoid
_PAUSE_CLOCK_THIS_FRAME
Description not yet documented
0x568D998A9FF96774 - CLOCKvoid
SET_CLOCK_DATE
Description not yet documented
0x02AD3092562941E2 - CLOCKvoid
SET_CLOCK_TIME
SET_CLOCK_TIME(12, 34, 56);
0x3A52C59FFB2DEED8 - CLOCKvoid
_SET_MILLISECONDS_PER_GAME_MINUTE
Description not yet documented
0x04EEDB3848DACF68
A living reference. Documentation coverage varies by native and source.