02AC
Revision as of 20:43, 26 January 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|trilogy}} '''SET_CAR_PROOFS''' <hr /> '''Description''' : Sets the proofs of a vehicle '''Syntax''' : 02AC: set_car [''car handle''] immunities [''int1''] [''int2''] ['...")
Description
- Sets the proofs of a vehicle
Syntax
- 02AC: set_car [car handle] immunities [int1] [int2] [int3] [int4] [int5]
- Car.SetImmunities( [car handle], [int1], [int2], [int3], [int4], [int5] )
Parameter
- [car handle]
- The handle of the vehicle
- [int1]
- Bullet-proof
- [int2]
- Fire-proof
- [int3]
- Explosion-proof
- [int4]
- Collision-proof
- [int5]
- useless property[1]
Native analog
This opcode sets the proofs of a vehicle. Bullet-proof will prevent the vehicle from being damaged by bullets. Fire-proof will prevent the vehicle from being damaged by fire. Explosion-proof will prevent the vehicle from being damaged by explosions. Collision-proof will prevent the vehicle from being damaged by collisions. The fifth proof is suppose to be melee-proof but the property has no effect.
Keywords
set, car, vehicle, immunity, immunities, immune, proof, damage, everythingproof, bulletproof, fireproof, explosionproof, collisionproof, dentproof, everything-proof, bullet-proof, fire-proof, explosion-proof, collision-proof, dent-proof
Reference
- ^ GTAForums: Fifth proof discussion