Перейти к содержанию

GetVehicleLocked

Материал из RAGE MP Wiki Archive

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>