[FilterScript] Custom Damage System - Knockout/Shock
#5

Quote:

if (health < 100.0)
{
SetPlayerHealth(playerid, health-15);
SetTimerEx("Bleeding", 10000, false, "i", playerid);

}
else if (health < 60.0)
{
SetPlayerHealth(playerid, health-15);
SetTimerEx("Bleeding", 10000, false, "i", playerid);
ApplyAnimation(playerid,"PED","KO_skid_front",4.1, 0,0,0,0,0);
SendClientMessage(playerid, -1, "You are badly injured now");

}
else if (health < 30.0)
{
SetPlayerHealth(playerid, health-15);
ApplyAnimation(playerid,"PED","KO_skid_front",4.1, 0,0,0,0,0);
SendClientMessage(playerid, -1, "You are heavily injured now");
}

Doesn't make sense.
if hp < 100, this calls instead of 30, 60
Reply


Messages In This Thread
Custom Damage System - Knockout/Shock - by TopShooter - 21.07.2016, 23:02
Re: Custom Damage System - Knockout/Shock - by Logic_ - 22.07.2016, 08:07
Re: Custom Damage System - Knockout/Shock - by Logic_ - 22.07.2016, 11:16
Re: Custom Damage System - Knockout/Shock - by TopShooter - 22.07.2016, 16:08
Re: Custom Damage System - Knockout/Shock - by Luicy. - 22.07.2016, 16:33
Re: Custom Damage System - Knockout/Shock - by TopShooter - 22.07.2016, 17:00
Re: Custom Damage System - Knockout/Shock - by TobiasJones - 26.07.2016, 19:19

Forum Jump:


Users browsing this thread: 1 Guest(s)