Quote: "AddPlayerHealth(health) - adds additional health to the player"
just to clarify that actually needs an entity number not a value
also SetPlayerHealth isn't a good command to use as it doesn't have any noticeable effect in game if you set HP to 0 (or below) so use HurtPlayer(e,v) whenever possible
Quote: "HurtPlayer(e,g_PlayerHealth)"
would be the same as SetPlayerHealth(0) but would also have the desired effect of killing the player for example.
as avram said g_PlayerHealth stores the current HP
life's one big game
windows vista ultimate
i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11