GetVehicleLocked
Внешний вид
Returns the vehicle's lock status.
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
<syntaxhighlight lang="csharp"> bool lockStatus = NAPI.Vehicle.GetVehicleLocked(vehicle); if(lockStatus) {
//Vehicle is locked
} </syntaxhighlight>