Help me fix injured system
#5

Quote:
Originally Posted by Dirda
Посмотреть сообщение
I knew it but i don't know where to put it.

WAIT, AIN'T YOU THE SAME PERSON WHO HELPED ME TO FIX THE PROBLEMS IN MY OTHER THREADS? WHOA!
yeah xD

place this code like this

PHP код:
public OnPlayerTakeDamage(playeridissueridFloatamountweaponidbodypart)
{
    
// we need this code at the top of the callback OnPlayerTakeDamage.
    
if(Death[playerid] == 1//u must place your death script here, for example let it be Death[playerid];
    
{
        new 
Float:HP
        
GetPlayerHealth(playerid,HP); 
        
SetPlayerHealth(playerid,HP+amount);  
        return 
1;
    } 
Reply


Messages In This Thread
Help me fix injured system - by Dirda - 03.02.2018, 08:29
Re: Help me fix injured system - by Mugala - 03.02.2018, 09:07
Re: Help me fix injured system - by Dirda - 03.02.2018, 09:43
Re: Help me fix injured system - by Dirda - 03.02.2018, 12:36
Re: Help me fix injured system - by Mugala - 03.02.2018, 16:27
Re: Help me fix injured system - by Abagail - 03.02.2018, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)