SET_PLAYER_MAY_ONLY_ENTER_THIS_VEHICLE
Hash
0xDA35A134038557ECRuntime name
SetPlayerMayOnlyEnterThisVehicleNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x8026FF78F208978ASignature
void SET_PLAYER_MAY_ONLY_ENTER_THIS_VEHICLE(Player player, Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
vehicle | Vehicle | — |
Returns void
Usage
SetPlayerMayOnlyEnterThisVehicle(player, vehicle)
-- always works, by hash
Citizen.InvokeNative(0xDA35A134038557EC, player, vehicle)JavaScript and C#
SetPlayerMayOnlyEnterThisVehicle(player, vehicle);
// by hash
Citizen.invokeNative('0xDA35A134038557EC', player, vehicle);Function.Call((Hash)0xDA35A134038557EC, player, vehicle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.