_SET_PLAYER_IN_VEHICLE_TARGETING_MODE
Sets your targeting mode for when you're in a vehicle (perhaps a mount/horse).
Hash
0x19B4F71703902238Runtime name
SetPlayerInVehicleTargetingModeNamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PLAYER_IN_VEHICLE_TARGETING_MODE(int targetMode);Parameters
| Name | Type | Description |
|---|---|---|
targetMode | int | — |
Returns void
Description
Sets your targeting mode for when you're in a vehicle (perhaps a mount/horse).
see SET_PLAYER_TARGETING_MODE for eTargetingMode
Usage
SetPlayerInVehicleTargetingMode(targetMode)
-- always works, by hash
Citizen.InvokeNative(0x19B4F71703902238, targetMode)JavaScript and C#
SetPlayerInVehicleTargetingMode(targetMode);
// by hash
Citizen.invokeNative('0x19B4F71703902238', targetMode);Function.Call((Hash)0x19B4F71703902238, targetMode);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.