Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help [FIXED] "If get player health" function?
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: "If get player health" function?

I believe you check Player Health this way;

PHP Code: (Select All)
if(GetPlayerHealth() == 100.0f//code here 

PHP Code: (Select All)
if(GetPlayerHealth() == 100.0f)
{
    
//code here


Keep in mind, it's 4am here and I haven't done HPL2 in a couple of months~

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 05-12-2016, 07:02 PM by Romulator.)
05-12-2016, 06:59 PM
Find


Messages In This Thread
RE: "If get player health" function? - by Romulator - 05-12-2016, 06:59 PM



Users browsing this thread: 1 Guest(s)