if(GetPlayerHealth(playerid) < 25)
{
new string[64];
GetPlayerName(playerid, name, sizeof(name));
ApplyAnimation(playerid,"SWAT","gnstwall_injurd",4.1,1,1,1,1,0);
format(string, sizeof(string), "* %s feels bad and faints.", name);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}