- Dokumentacja
- Funkcje serwera
- getVehicleDummyPosition
Funkcja
getVehicleDummyPosition
Zwraca położenie punktu pomocniczego pojazdu zapisane przez setVehicleDummyPosition.
Składnia
float, float, float getVehicleDummyPosition(vehicle vehicle, string dummy)Argumenty
vehiclevehicle- Pojazd.
dummystring- Nazwa punktu.
Zwraca
x, y, z albo false, gdy nie ustawiono.
Przykład
local vehicle = createVehicle(411, 2000, -1690, 13.5)
setVehicleDummyPosition(vehicle, "exhaust", 0.5, -2.3, -0.3)
local x, y, z = getVehicleDummyPosition(vehicle, "exhaust")