car is always dirty
-
each time I spawn a vehicles, they almost always spawn in dirty. is there a way to fix this problem permanently, instead of F4 to wash every time i spawn.
-
@Dave636349 you might have a mod installed making it always dirty or a setting you may have accidentally enabled in a trainer making it always dirty
-
@Dave636349 said in car is always dirty:
each time I spawn a vehicles, they almost always spawn in dirty. is there a way to fix this problem permanently, instead of F4 to wash every time i spawn.
You can do this the 'dirty' way (and preferable, actually, for your own addon cars), which is to edit vehicles.meta, and set all instances of these to 0:
<dirtLevelMin value="0.0" /> <dirtLevelMax value="0.0" />
That way your cars can never get dirty, ever.
Another way is to do this, is with a script. Like I use this snippet, at OnTick(), to keep my car and myself always clean:
if (playerPed.IsInVehicle()) { Vehicle vehicle = playerPed.CurrentVehicle; if (vehicle.IsAlive) { vehicle.DirtLevel = 0; if (vehicle.HasCollidedWithAnything) { playerPed.ClearBloodDamage(); playerPed.ResetVisibleDamage(); Function.Call(Hash.CLEAR_PED_LAST_WEAPON_DAMAGE, playerPed); } } }
-
@Reacon said in car is always dirty:
@Dave636349 you might have a mod installed making it always dirty or a setting you may have accidentally enabled in a trainer making it always dirty
Yes, make sure, like @Reacon said, that you don't have some mod/trainer going that sets the cars to dirty on purpose.