Wesser Posted November 26, 2006 Share Posted November 26, 2006 Hi, when the black smoke goes out of the chest of my car, I would want that it is invulnerable and the fire doesn't go out. Help me! Link to comment https://gtaforums.com/topic/261727-cars-freeze-damage/ Share on other sites More sharing options...
Bigun Posted November 26, 2006 Share Posted November 26, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now