NOTE: This is an archive of the old wiki.
Expect content to be outdated and links to be broken.

User Tools


obsolete:lua:lua_playersethealth

Lua PlayerSetHealth

void PlayerSetHealth( int playerIndex, int health );

Description

Sets the players health to that value.

Version

Beta 3.0

Accepts FOR_ALL_PLAYERS

Example

0@@
obsolete/lua/lua_playersethealth.txt ยท Last modified: 2023/09/03 18:43 by 127.0.0.1