SerweryWłasny serwerDla twórcówForumFAQDokumentacjaBezpieczeństwo
Pobierz launcher
  1. Dokumentacja
  2. Funkcje serwera
  3. resetVehicleComponentRotation

Funkcja

resetVehicleComponentRotation

SerwerPojazdyIdentyczna z MTA:SA

Kasuje obrót części zapisany przez setVehicleComponentRotation.

Składnia

bool resetVehicleComponentRotation(vehicle vehicle, string component)

Argumenty

vehiclevehicle
Pojazd.
componentstring
Nazwa części.

Zwraca

true przy powodzeniu.

Przykład

local vehicle = createVehicle(411, 2000, -1690, 13.5)
resetVehicleComponentRotation(vehicle, "bonnet_dummy")

Zobacz też