qbcore-framework / qb-mechanicjob

Mechanic Job For QB-Core
GNU General Public License v3.0
33 stars 174 forks source link

cars automatically catches fire while driving [BUG] #91

Closed Your-Spy closed 9 months ago

amirhosin0554 commented 10 months ago

Hi i haved this problem like you For disabled this go into qb-mechanic config const.lua You can find at first Config.ignoreClass Type class of vehicle to disable damage For ex [18] = true, -- Emergency

Or you can do this ---not recomended Go mechanicjob client drivingdistance.lua

Delete line 90 - 94

xNazz commented 10 months ago

no need to delete code, just set Config.UseDistanceDamage to false