26.10.2015, 17:17
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLos t,Float:ArmourLost)
{
if (IsPlayerInRangeOfPoint(Target, 2.0, ZombieSpawnX, ZombieSpawnY, ZombieSpawnZ))
{
new Float:health;
GetPlayerHealth(Shooter,health);
SetPlayerHealth(Shooter, health-5);
}
return 1;
}
{
if (IsPlayerInRangeOfPoint(Target, 2.0, ZombieSpawnX, ZombieSpawnY, ZombieSpawnZ))
{
new Float:health;
GetPlayerHealth(Shooter,health);
SetPlayerHealth(Shooter, health-5);
}
return 1;
}