Entity::setProofs: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 18: Line 18:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 18:09, 1 May 2024

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