Little Help
#1

Hello guys my probleme is i want to make screen flash's when we get hited from others By gun or anything i want to make a detector of when the hp will down the Screen will flash check my code & thanks for your answers

Код:
if(health --;)
    {
		FlashPlayerScreen(playerid, COL_RED, 80, 1);
   		new Float:PlayersArmour;
		GetPlayerHealth(playerid, PlayersArmour);
		SetPlayerHealth(playerid, PlayersArmour - 1.0);
    	return 1;
    }
Reply
#2

You can use it in OnPlayerTakeDamage I guess.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)