The Lab
VEHICLE native

_GET_VEHICLE_DOORS_LOCKED_FOR_TEAM

returns BOOL2 paramsbuild 1207

Returns true if the doors of vehicle are locked for team.

Signature

C
BOOL _GET_VEHICLE_DOORS_LOCKED_FOR_TEAM(Vehicle vehicle, int team); // 0xDD1E1393D966D39A b1207

Parameters

#NameType
1vehicleVehicle
2teamint

Facts

Facts about _GET_VEHICLE_DOORS_LOCKED_FOR_TEAM
Name
_GET_VEHICLE_DOORS_LOCKED_FOR_TEAM
Hash
0xDD1E1393D966D39A
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xDD1E1393D966D39A, -- _GET_VEHICLE_DOORS_LOCKED_FOR_TEAM
  0, -- Vehicle vehicle
  0 -- int team
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xDD1E1393D966D39A", // _GET_VEHICLE_DOORS_LOCKED_FOR_TEAM
  0, // Vehicle vehicle
  0, // int team
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xDD1E1393D966D39A, // _GET_VEHICLE_DOORS_LOCKED_FOR_TEAM
  0, // Vehicle vehicle
  0 // int team
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.