View Issue Details

IDProjectCategoryView StatusLast Update
0009875New issuesVehiclespublic2018-09-30 13:52
ReporterTheMrDadoszAssigned To 
PrioritylowSeveritytweakReproducibilityalways
Status closedResolutionduplicate 
Summary0009875: setVehicleComponentRotation isn't working on wheels
Description

Script can set component position, but it can't set component rotation for wheels.

Additional Information

for _, v in ipairs(getElementsByType("vehicle")) do
setVehicleComponentPosition(v, "wheel_rf_dummy", 0, 0, 20)
end -- working

addEventHandler("onClientRender", root, function()
for _, v in ipairs(getElementsByType("vehicle")) do
setVehicleComponentRotation(v, "wheel_rf_dummy", 0, 0, 20)
end
end) -- not working

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change