[HELP] Faint system
#1

Hello, I can't make a faint system, I put this script in onplayerupdate but it doesn't work. Can you help me?
Код:
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);
}
Help me fix it pls!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)