Game code
CLOCK::SET_CLOCK_TIME
0x04D21127C5AD3A60 ·RVA 0x03CD69A0
Signature
void SET_CLOCK_TIME(
int hour,
int minute,
int second,
BOOL p3
);
Parameters 4
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | int | hour |
– |
| 1 | int | minute |
– |
| 2 | int | second |
– |
| 3 | BOOL | p3 |
– |
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);// CLOCK::SET_CLOCK_TIME
Function.Call((Hash)0x04D21127C5AD3A60, hour, minute, second, p3);-- CLOCK::SET_CLOCK_TIME
Citizen.InvokeNative(0x04D21127C5AD3A60, hour, minute, second, p3)// CLOCK::SET_CLOCK_TIME
Citizen.invokeNative("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.