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

SetVehicleLocked

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

Locks or unlocks a vehicle.


void NAPI.Vehicle.SetVehicleLocked(Vehicle vehicle, bool doorLockStatus);

Parameters

  • vehicle: parameter input should be in Vehicle type
  • doorLockStatus: parameter input should be in bool type

Example

<syntaxhighlight lang="csharp"> NAPI.Vehicle.SetVehicleLocked(vehicle, doorLockStatus); </syntaxhighlight>