View Issue Details

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

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) -- not working

TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change