GetVehicleLocked
Returns the vehicle's lock status.
C# Syntax
bool NAPI.Vehicle.GetVehicleLocked(Vehicle vehicle);
Parameters
- vehicle: parameter input should be in Vehicle type
NOTE: This function returns the lock status in bool type.
Example
bool lockStatus = NAPI.Vehicle.GetVehicleLocked(vehicle);
if(lockStatus)
{
//Vehicle is locked
}