Log in to reply
 

Never dirty car. Help!



  • Hi i dont want my cars in gta V dirty. And i cant seem to find any mods for it. And i dont know if any trainers have that function. Any one know where i can find a way to never get my cars dirty?







  • @Rottaracing said in Never dirty car. Help!:

    Hi i dont want my cars in gta V dirty. And i cant seem to find any mods for it. And i dont know if any trainers have that function. Any one know where i can find a way to never get my cars dirty?

    If you literally don't want dirt, then you can just set these 2 variables in vehicle.meta:

    		<dirtLevelMin value="0.000000" />
    		<dirtLevelMax value="0.000000" />
    

    You can prevent furher dirt and/or player 'dirt' with an OnTick code snippet like:

            Ped playerPed = Game.Player.Character;
            if (playerPed.IsInVehicle())
            {
                Vehicle vehicle = playerPed.CurrentVehicle;
                if (vehicle.IsAlive)
                {
                    if (vehicle.HasCollidedWithAnything)
                    {
                        vehicle.DirtLevel = 0;
                        playerPed.ClearBloodDamage();
                        playerPed.ResetVisibleDamage();
                        Function.Call(Hash.CLEAR_PED_LAST_WEAPON_DAMAGE, playerPed);
                    }
                }
            }
    

    Which I use myself. :)


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.