Difference between revisions of "09CA"

From GTAMods Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<code>09CA=6,%1d% %2d% %3d% %4d% %5d% %6d%</code><br>
+
{{OpCode
'''Description''': Sets the immunities of an object<br>
+
| games      = {{Icon|SA}}
 +
| command    = SET_OBJECT_PROOFS
 +
| description = Sets the proofs of the object
 +
| syntax1    = 09CA: set_object [''object handle''] immunities BP [''int1''] FP [''int2''] EP [''int3''] CP [''int4''] MP [''int5'']
 +
| p1t        = [''object handle'']
 +
| p1d        = The handle of the object
 +
| p2t        = [''int1'']
 +
| p2d        = Bullet-proof
 +
| p3t        = [''int2'']
 +
| p3d        = Fire-proof
 +
| p4t        = [''int3'']
 +
| p4d        = Explosion-proof
 +
| p5t        = [''int4'']
 +
| p5d        = Collision-proof
 +
| p6t        = [''int5'']
 +
| p6d        = Melee-proof
 +
| native      = [[SET_OBJECT_PROOFS]]
 +
}}
  
'''Parameter 1''': Object ID<br>
+
This opcode sets the proofs of the 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.).
'''Parameter 2''': Bullet-proof<br>
 
'''Parameter 3''': Fire-proof<br>
 
'''Parameter 4''': Explosion-proof<br>
 
'''Parameter 5''': Collision-proof<br>
 
'''Parameter 6''': Melee-proof<br>
 
  
'''Supports''': San Andreas<br>
+
== Keywords ==
 
 
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>
 
 
 
==Keywords==
 
 
set, object, immunity, immunities, damage, everythingproof, bulletproof, fireproof, explosionproof, collisionproof, dentproof, everything-proof, bullet-proof, fire-proof, explosion-proof, collision-proof, dent-proof
 
set, object, immunity, immunities, damage, everythingproof, bulletproof, fireproof, explosionproof, collisionproof, dentproof, everything-proof, bullet-proof, fire-proof, explosion-proof, collision-proof, dent-proof
 
[[Category:OpCodes]]
 

Latest revision as of 01:41, 25 November 2016

San Andreas SET_OBJECT_PROOFS


Description
Sets the proofs of the object
Syntax
09CA: set_object [object handle] immunities BP [int1] FP [int2] EP [int3] CP [int4] MP [int5]
Parameter
[object handle]
The handle of the object
[int1]
Bullet-proof
[int2]
Fire-proof
[int3]
Explosion-proof
[int4]
Collision-proof
[int5]
Melee-proof
Native analog
SET_OBJECT_PROOFS

This opcode sets the proofs of the 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