_SET_PLAYER_OWNS_VEHICLE
Sets vehicle as owned by player.
Signature
void _SET_PLAYER_OWNS_VEHICLE(Player player, Vehicle vehicle); // 0xD0E02AA618020D17 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | vehicle | Vehicle |
Facts
| Name | _SET_PLAYER_OWNS_VEHICLE |
|---|---|
| Hash | 0xD0E02AA618020D17 |
| 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(0xD0E02AA618020D17, -- _SET_PLAYER_OWNS_VEHICLE
PlayerId(), -- Player player
0 -- Vehicle vehicle
)Citizen.invokeNative("0xD0E02AA618020D17", // _SET_PLAYER_OWNS_VEHICLE
PlayerId(), // Player player
0 // Vehicle vehicle
);Function.Call((Hash)0xD0E02AA618020D17, // _SET_PLAYER_OWNS_VEHICLE
API.PlayerId(), // Player player
0 // Vehicle vehicle
);Related PLAYER natives
- _SET_PLAYER_OWNS_MOUNT
- _SET_PLAYER_IN_VEHICLE_TARGETING_MODE
- _SET_PLAYER_AIM_WEAPON
- _SET_PLAYER_CAN_MERCY_KILL
- _SET_PLAYER_CAN_PICKUP_ABILITY
- _SET_PLAYER_CAN_PICKUP_HAT
- _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
- _SET_PLAYER_DAMAGE_INFO_OVERRIDE
- _SET_PLAYER_DEAD_EYE_AURA_BY_HASH
- _SET_PLAYER_DEFENSE_MODIFIER
- _SET_PLAYER_DEFENSE_TYPE_MODIFIER
- _SET_PLAYER_EXPLOSIVE_WEAPON_DAMAGE_MODIFIER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.