GET_VEHICLE_DOORS_LOCKED_FOR_PLAYER
Currently it only works when set to "all players".
Signature
int GET_VEHICLE_DOORS_LOCKED_FOR_PLAYER(Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
Returns int
Description
Currently it only works when set to "all players".
Usage
local retval = GetVehicleDoorsLockedForPlayer(vehicle)
-- always works, by hash
local retval = Citizen.InvokeNative(0x1dc50247, vehicle, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetVehicleDoorsLockedForPlayer(vehicle);
// by hash
const retval = Citizen.invokeNative('0x1dc50247', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x1dc50247, vehicle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.