_0xDBC631F109350B8C
Docs0xdbc631f109350b8c(vehicle, p1)Description
Related to locking the vehicle or something similar.
In the decompiled scripts, its always called after
VEHICLE::_SET_EXCLUSIVE_DRIVER(a_0, 0, 0);
VEHICLE::SET_VEHICLE_DOORS_LOCKED_FOR_ALL_PLAYERS(a_0, 1);
VEHICLE::SET_VEHICLE_DOORS_LOCKED_FOR_PLAYER(a_0, PLAYER::PLAYER_ID(), 0);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
p1 | BOOL | — |
Quick Snippet: Get Vehiclevehicle
vehicleUse this to get the current vehicle handle for this native.
-- Get the vehicle the player is currently in
local ped = PlayerPedId()
local vehicle = GetVehiclePedIsIn(ped, false)
if vehicle ~= 0 then
print("Vehicle handle: " .. vehicle)
print("Model: " .. GetEntityModel(vehicle))
else
print("Player is not in a vehicle")
endVehicle Models

adder
alpha
blade
ardent
asea
cogcabrio
baller
blistaReturns
voidThis native does not return a value.