Entity::setMaxHealth: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 11: Line 11:
</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 17:53, 1 May 2024

For instance: ENTITY::SET_ENTITY_MAX_HEALTH(PLAYER::PLAYER_Player_ID(), 200); // director_mode.c4: 67849

Syntax

entity.setMaxHealth(value);

Required Arguments

  • value: int

Return value

  • Undefined

Example

// todo

See also