SET_PLAYER_TARGETING_MODE
Sets the targeting mode for the player.
Signature
void SET_PLAYER_TARGETING_MODE(int targetMode); // 0xD66A941F401E7302 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | targetMode | int |
Facts
| Name | SET_PLAYER_TARGETING_MODE |
|---|---|
| Hash | 0xD66A941F401E7302 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xD66A941F401E7302, -- SET_PLAYER_TARGETING_MODE
0 -- int targetMode
)Citizen.invokeNative("0xD66A941F401E7302", // SET_PLAYER_TARGETING_MODE
0 // int targetMode
);Function.Call((Hash)0xD66A941F401E7302, // SET_PLAYER_TARGETING_MODE
0 // int targetMode
);Related PLAYER natives
- _SET_PLAYER_IN_VEHICLE_TARGETING_MODE
- SET_PLAYER_TEAM
- SET_PLAYER_CAN_BE_HASSLED_BY_GANGS
- SET_PLAYER_CAN_USE_COVER
- SET_PLAYER_CLOTH_PIN_FRAMES
- SET_PLAYER_CONTROL
- SET_PLAYER_FORCED_AIM
- SET_PLAYER_HEALTH_RECHARGE_MULTIPLIER
- SET_PLAYER_INVINCIBLE
- SET_PLAYER_LOCKON
- SET_PLAYER_LOCKON_RANGE_OVERRIDE
- SET_PLAYER_MAY_NOT_ENTER_ANY_VEHICLE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.