[PROBLEM] Making a person die when he enters an area
#2

Maybe
Код:
public isPlayerInArea()
  {
    new Float:X, Float:Y, Float:Z;
    for(new i=0; i < MAX_PLAYERS; i++)
    {
      GetPlayerPos(i, X, Y, Z);
      if (X <= 220.79951477051 && X >= 78.797210693359 && Y >= -2541.3955078125 && Y <= 23.323795318604){
        SetPlayerHealth(i, -999999.9);
      }
    }
  }
Cause
Код:
Y <= -2541.3955078125 && Y >= 23.323795318604
False anyway
Reply


Messages In This Thread
[PROBLEM] Making a person die when he enters an area - by S1nn3r - 27.01.2010, 13:14
Re: [PROBLEM] Making a person die when he enters an area - by Norck - 27.01.2010, 13:21
Re: [PROBLEM] Making a person die when he enters an area - by pierhs - 27.01.2010, 13:24

Forum Jump:


Users browsing this thread: 2 Guest(s)