Thread: Player Health
View Single Post
  #2  
Old 08-30-2012, 05:26 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

You can't set the health level, only read:
float Health { get; }

Example Code
Code:
AiPerson singlePlayer = GamePlay.gpPlayer() as AiPerson;
GamePlay.gpLogServer(null, "Person Health: {0}", new object[] { singlePlayer.Health });
Reply With Quote