Game code
PLAYER::SET_PLAYER_FORCED_AIM
0x514D02F02A033E99 ·RVA 0x04507E70
Signature
void SET_PLAYER_FORCED_AIM(
Player player,
BOOL toggle,
Ped ped,
int p3,
BOOL p4,
BOOL p5
);
The scripts pass 7 values to this native; the decoded signature lists 6 (arguments the game doesn't read are left out).
Parameters 6
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Player | player |
– |
| 1 | BOOL | toggle |
– |
| 2 | Ped | ped |
– |
| 3 | int | p3 |
– |
| 4 | BOOL | p4 |
– |
| 5 | BOOL | p5 |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p5 is not in RDR3's signature; the game reads it as a true/false value.
- This lines up with RDR3's signature in more than one way; it takes the one that keeps RDR3's arguments first and puts the new ones after them.
Call it
// PLAYER::SET_PLAYER_FORCED_AIM
invoke<Void>(0x514D02F02A033E99, player, toggle, ped, p3, p4, p5);// PLAYER::SET_PLAYER_FORCED_AIM
Function.Call((Hash)0x514D02F02A033E99, player, toggle, ped, p3, p4, p5);-- PLAYER::SET_PLAYER_FORCED_AIM
Citizen.InvokeNative(0x514D02F02A033E99, player, toggle, ped, p3, p4, p5)// PLAYER::SET_PLAYER_FORCED_AIM
Citizen.invokeNative("0x514D02F02A033E99", player, toggle, ped, p3, p4, p5);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.