01.08.2012, 12:01
yeah sorry
fixed
add this to your command
fixed
pawn Код:
new Float: Health, v;
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
v = 0;
foreach(Player,i)
{
GetPlayerHealth(i,Health);
if(Health == 0)
{
if(IsPlayerInRangeOfPoint(i, 40, X,Y,Z) )
{
v++;
SetPlayerScore(playerid,GetPlayerScore(playerid)+v);
}
}
}