RedM Natives

_SET_PLAYER_OWNS_VEHICLE

Hash0xD0E02AA618020D17
Runtime nameSetPlayerOwnsVehicle
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PLAYER_OWNS_VEHICLE(Player player, Vehicle vehicle);

Parameters

NameTypeDescription
playerPlayer—
vehicleVehicle—

Returns void

Usage

Lua
SetPlayerOwnsVehicle(player, vehicle)

-- always works, by hash
Citizen.InvokeNative(0xD0E02AA618020D17, player, vehicle)
JavaScript and C#
JavaScript
SetPlayerOwnsVehicle(player, vehicle);

// by hash
Citizen.invokeNative('0xD0E02AA618020D17', player, vehicle);
C#
Function.Call((Hash)0xD0E02AA618020D17, player, vehicle);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.