OnPlayerTakeDamage
#2

if you set the health to 0, it doesn't kill the person right.
add this (didnt test)
PHP код:
new Float:h2;
GetPlayerHealth(playeridh2);
{
if(
h2==0)
Kill(playerid)

Reply


Messages In This Thread
OnPlayerTakeDamage - by Type-R - 27.05.2016, 17:45
Re: OnPlayerTakeDamage - by justjamie - 27.05.2016, 17:52
Re: OnPlayerTakeDamage - by Type-R - 28.05.2016, 14:19
Re: OnPlayerTakeDamage - by andrejc999 - 28.05.2016, 14:24
Re: OnPlayerTakeDamage - by Type-R - 28.05.2016, 14:38
Re: OnPlayerTakeDamage - by andrejc999 - 28.05.2016, 14:41
Re: OnPlayerTakeDamage - by Type-R - 28.05.2016, 15:54
Re: OnPlayerTakeDamage - by Stinged - 28.05.2016, 16:05

Forum Jump:


Users browsing this thread: 1 Guest(s)