28.11.2014, 08:08
pawn Код:
forward DamagedPlayer(playerid);
public DamagedPlayer(playerid)
{
new Float:health;
GetPlayerHealth(playerid, health);
if(health < 6)
{
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_WHITE, "[Medic]: Nu mai ai Viata, Contacteaza un Medic(/call 911).");
}
return 1;
}