_GET_PLAYER_OWNER_OF_VEHICLE
Returns the player who owns vehicle.
Signature
Player _GET_PLAYER_OWNER_OF_VEHICLE(Vehicle vehicle); // 0x7C803BDC8343228D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
Facts
| Name | _GET_PLAYER_OWNER_OF_VEHICLE |
|---|---|
| Hash | 0x7C803BDC8343228D |
| Namespace | |
| Returns | Player |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local player = Citizen.InvokeNative(0x7C803BDC8343228D, -- _GET_PLAYER_OWNER_OF_VEHICLE
0, -- Vehicle vehicle
Citizen.ResultAsInteger()
)
print(player)const player = Citizen.invokeNative("0x7C803BDC8343228D", // _GET_PLAYER_OWNER_OF_VEHICLE
0, // Vehicle vehicle
Citizen.resultAsInteger()
);
console.log(player)int player = Function.Call<int>((Hash)0x7C803BDC8343228D, // _GET_PLAYER_OWNER_OF_VEHICLE
0 // Vehicle vehicle
);Related PLAYER natives
- _GET_PLAYER_OWNER_OF_MOUNT
- _GET_VEHICLE_OWNED_BY_PLAYER
- _GET_PLAYER_CACHED_DEAD_EYE_AMOUNT
- _GET_PLAYER_DEAD_EYE
- _GET_PLAYER_DEAD_EYE_METER_LEVEL
- _GET_PLAYER_FREE_AIM_CLOSEST_ENTITY
- _GET_PLAYER_HEALTH
- _GET_PLAYER_HEALTH_RECHARGE_MULTIPLIER
- _GET_PLAYER_HUNTING_WAGON
- _GET_PLAYER_INTERACTION_AIM_ENTITY
- _GET_PLAYER_MAX_DEAD_EYE
- _GET_PLAYER_MOOD
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.