Jump to content

Cars Freeze Damage


Recommended Posts

Do you have any coding experience/knowledge?

 

Basically, first make a thread that displays the current player's car's health. Then play the game, and get the health value in which the black smoke comes out and write it down. After that, scrap the first thread.

 

Then make a new thread that loops checking {nearby cars}or{player's car} (whichever you want)'s health, and if its equal or less than the value in which black smoke comes out, then set the car's health to the black-smoke-health-value and turn on all/some immunities for it.

One pretty simple way to reverse it would be to have another thread loop threw nearby cars, and if their health is >={1000}or{black-smoke-health value} (depending on the threads priority. highest priority (wait 0) should sniff for >=1000), set all immunities to 0. Could interfere with missions' cars' immunities, but IIRC, ONLY after the mission has finished.

Link to comment
https://gtaforums.com/topic/261727-cars-freeze-damage/#findComment-3948948
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.