13.03.2009, 14:12
Okey... The Subject says it all...
For a timer...
new Float:OldHealth;
public OldHealthCheck(playerid)
{
GetPlayerHealth(playerid,OldHealth);
}
public HealthUpdate(playerid)
{
if( // HP Reduced by 40 on 1MS ) SetPlayerHealth(playerid,0);
}
For a timer...
new Float:OldHealth;
public OldHealthCheck(playerid)
{
GetPlayerHealth(playerid,OldHealth);
}
public HealthUpdate(playerid)
{
if( // HP Reduced by 40 on 1MS ) SetPlayerHealth(playerid,0);
}