Entity::setProofs

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Enable / disable each type of damage.

Can't get drownProof to work.
--------------
p7 is to to '1' in am_mp_property_ext/int: entity::set_entity_proofs(uParam0->f_19, true, true, true, true, true, true, 1, true);

Syntax

entity.setProofs(bulletProof, fireProof, explosionProof, collisionProof, meleeProof, p6, p7, drownProof);

Required Arguments

  • bulletProof: Boolean
  • fireProof: Boolean
  • explosionProof: Boolean
  • collisionProof: Boolean
  • meleeProof: Boolean
  • p6: Boolean
  • p7: Boolean
  • drownProof: Boolean

Return value

  • Undefined

Example

// todo

See also