_SET_PLAYER_OWNS_VEHICLE
Hash
0xD0E02AA618020D17Runtime name
SetPlayerOwnsVehicleNamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PLAYER_OWNS_VEHICLE(Player player, Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
vehicle | Vehicle | — |
Returns void
Usage
SetPlayerOwnsVehicle(player, vehicle)
-- always works, by hash
Citizen.InvokeNative(0xD0E02AA618020D17, player, vehicle)JavaScript and C#
SetPlayerOwnsVehicle(player, vehicle);
// by hash
Citizen.invokeNative('0xD0E02AA618020D17', player, vehicle);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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.