Help me fix injured system
#2

u can make it in 2 way, first is to toggleplayercontrollable, wich also gives him a god mode.
and second one, you can give a player exactly amount what he took as a damage.

OnPlayerTakeDamage
PHP код:
new Float:HP;
GetPlayerHealth(playerid,HP);
SetPlayerHealth(playerid,HP+amount); 
if u havn't make a respawn (in a death location) yet, just reply and I'll make an example.
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)