RedM Natives

SET_DONT_ALLOW_PLAYER_TO_ENTER_VEHICLE_IF_LOCKED_FOR_PLAYER

Hash0x63DC1F22C903B709
Runtime nameSetDontAllowPlayerToEnterVehicleIfLockedForPlayer
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xDBC631F109350B8C

Signature

void SET_DONT_ALLOW_PLAYER_TO_ENTER_VEHICLE_IF_LOCKED_FOR_PLAYER(Vehicle vehicle, BOOL p1);

Parameters

NameTypeDescription
vehicleVehicle—
p1BOOL—

Returns void

Usage

Lua
SetDontAllowPlayerToEnterVehicleIfLockedForPlayer(vehicle, p1)

-- always works, by hash
Citizen.InvokeNative(0x63DC1F22C903B709, vehicle, p1)
JavaScript and C#
JavaScript
SetDontAllowPlayerToEnterVehicleIfLockedForPlayer(vehicle, p1);

// by hash
Citizen.invokeNative('0x63DC1F22C903B709', vehicle, p1);
C#
Function.Call((Hash)0x63DC1F22C903B709, vehicle, p1);

Sources

alloc8or RDR3 NativeDB

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