Log In
Sign Up
Game code

CLOCK::SET_CLOCK_TIME

0x04D21127C5AD3A60 ·RVA 0x03CD69A0

Signature

void SET_CLOCK_TIME(
    int hour,
    int minute,
    int second,
    BOOL p3
);

Parameters 4

#TypeNameNotes
0inthour –
1intminute –
2intsecond –
3BOOLp3 –

Returns

void Nothing.

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:
  • p3 is not in RDR3's signature; the game reads it as a true/false value.

Call it

// CLOCK::SET_CLOCK_TIME
invoke<Void>(0x04D21127C5AD3A60, hour, minute, second, p3);

Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.

Improve this page

Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.