RedM Natives

_GET_VEHICLE_DOORS_LOCKED_FOR_TEAM

Hash0xDD1E1393D966D39A
Runtime nameGetVehicleDoorsLockedForTeam
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _GET_VEHICLE_DOORS_LOCKED_FOR_TEAM(Vehicle vehicle, int team);

Parameters

NameTypeDescription
vehicleVehicle—
teamint—

Returns BOOL

Usage

Lua
local retval = GetVehicleDoorsLockedForTeam(vehicle, team)

-- always works, by hash
local retval = Citizen.InvokeNative(0xDD1E1393D966D39A, vehicle, team, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetVehicleDoorsLockedForTeam(vehicle, team);

// by hash
const retval = Citizen.invokeNative('0xDD1E1393D966D39A', vehicle, team, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xDD1E1393D966D39A, vehicle, team);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB

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