RedM Natives

SET_VEHICLE_DOORS_LOCKED_FOR_TEAM

Hash0xE712BC978770F105
Runtime nameSetVehicleDoorsLockedForTeam
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB81F6D4A8F5EEBA8

Signature

void SET_VEHICLE_DOORS_LOCKED_FOR_TEAM(Vehicle vehicle, int team, BOOL toggle);

Parameters

NameTypeDescription
vehicleVehicle—
teamint—
toggleBOOL—

Returns void

Usage

Lua
SetVehicleDoorsLockedForTeam(vehicle, team, toggle)

-- always works, by hash
Citizen.InvokeNative(0xE712BC978770F105, vehicle, team, toggle)
JavaScript and C#
JavaScript
SetVehicleDoorsLockedForTeam(vehicle, team, toggle);

// by hash
Citizen.invokeNative('0xE712BC978770F105', vehicle, team, toggle);
C#
Function.Call((Hash)0xE712BC978770F105, vehicle, team, toggle);

See also

Sources

alloc8or RDR3 NativeDB

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