Difference between revisions of "09CA"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<code>09CA=6,%1d% %2d% %3d% %4d% %5d% %6d%</code><br>
+
{{OpCode
'''Description''': Sets the immunities of an object<br>
+
| ini        = 09CA=6,%1d% %2d% %3d% %4d% %5d% %6d%
 
+
| description = Sets the immunities of an object
'''Parameter 1''': Object ID<br>
+
| p1          = Existing object handle
'''Parameter 2''': Bullet-proof<br>
+
| p2          = Bullet-proof
'''Parameter 3''': Fire-proof<br>
+
| p3          = Fire-proof
'''Parameter 4''': Explosion-proof<br>
+
| p4          = Explosion-proof
'''Parameter 5''': Collision-proof<br>
+
| p5          = Collision-proof
'''Parameter 6''': Melee-proof<br>
+
| p6          = Melee-proof
 
+
| game        = San Andreas
'''Supports''': San Andreas<br>
+
| native      = [[SET_OBJECT_PROOFS]]
 
+
}}
This opcode sets the immunities of a damagable object. Bullet-proof will prevent the object from being damaged by bullets. Fire-proof will prevent the object from being damaged by fire. Explosion-proof will prevent the object from being damaged by explosions. Collision-proof will prevent the object from being damaged by collisions. Melee-proof will prevent the object from being damaged by melee-type weapons (arms, chainsaw).<br>
+
This opcode sets the immunities of a damagable object. Bullet-proof will prevent the object from being damaged by bullets. Fire-proof will prevent the object from being damaged by fire. Explosion-proof will prevent the object from being damaged by explosions. Collision-proof will prevent the object from being damaged by collisions. Melee-proof will prevent the object from being damaged by melee-type weapons (fists, chainsaw, etc.).
  
 
==Keywords==
 
==Keywords==

Revision as of 00:00, 28 December 2008

{{{games}}}


Description
Sets the immunities of an object
Syntax
{{{syntax1}}}
Parameter
Native analog
SET_OBJECT_PROOFS

This opcode sets the immunities of a damagable object. Bullet-proof will prevent the object from being damaged by bullets. Fire-proof will prevent the object from being damaged by fire. Explosion-proof will prevent the object from being damaged by explosions. Collision-proof will prevent the object from being damaged by collisions. Melee-proof will prevent the object from being damaged by melee-type weapons (fists, chainsaw, etc.).

Keywords

set, object, immunity, immunities, damage, everythingproof, bulletproof, fireproof, explosionproof, collisionproof, dentproof, everything-proof, bullet-proof, fire-proof, explosion-proof, collision-proof, dent-proof