Game code
PLAYER::SET_PLAYER_TARGETING_MODE
0xBFE18CFD29956BE0 ·RVA 0x04508580
Signature
void SET_PLAYER_TARGETING_MODE(int targetMode, BOOL p1);
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | int | targetMode |
– |
| 1 | BOOL | p1 |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p1 is not in RDR3's signature; the game reads it as a true/false value.
Call it
// PLAYER::SET_PLAYER_TARGETING_MODE
invoke<Void>(0xBFE18CFD29956BE0, targetMode, p1);// PLAYER::SET_PLAYER_TARGETING_MODE
Function.Call((Hash)0xBFE18CFD29956BE0, targetMode, p1);-- PLAYER::SET_PLAYER_TARGETING_MODE
Citizen.InvokeNative(0xBFE18CFD29956BE0, targetMode, p1)// PLAYER::SET_PLAYER_TARGETING_MODE
Citizen.invokeNative("0xBFE18CFD29956BE0", targetMode, p1);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.