Lua PlayerSetHealth

From GoldenEye: Source Wiki

Jump to: navigation, search

void PlayerSetHealth( int playerIndex, int health );

Description

Sets the players health to that value.

Version

Beta 3.0

Accepts FOR_ALL_PLAYERS

Example

PlayerSetHealth( playerIndex, 100 );
Personal tools