Preview
Shared function

setElementHealth

This function sets the health of a player, ped, vehicle or object element.

Syntax

bool setElementHealth ( element theElement, float newHealth )
void  ( )
void  ( )

Returns

Returns true if the new health was set successfully, false otherwise.

Issues

Examples