a small question
#4

yeah sorry
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);
            }
         }
      }
add this to your command
Reply


Messages In This Thread
a small question - by Jarnu - 01.08.2012, 11:26
Re: a small question - by XStormiest - 01.08.2012, 11:38
Re: a small question - by Jarnu - 01.08.2012, 11:55
Re: a small question - by XStormiest - 01.08.2012, 12:01

Forum Jump:


Users browsing this thread: 1 Guest(s)