When a player is low health, sending a client message.
#6

PHP код:
SetTimer("CheckLowHP"900000true);
 
forward CheckLowHP(playerid);
public 
CheckLowHP(playerid)
{
   if(
GetPlayerHealth(playeridvariable) < 20) return SendClientMessage(playeridCOLOR_RED"Text");
   return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)