You ask, we answer.
#5

- isPlayerInArea

i have this code so when it enters the area it sets players health to 999999 whatever but i need it so it also shows a TextDraw and when you leave the area it Destroys the TextDraw and sets the players health back to 100.

pawn Код:
public isPlayerInArea()
  {
    new Float:X, Float:Y, Float:Z;
    for(new i=0; i < MAX_PLAYERS; i++)
    {
      GetPlayerPos(i, X, Y, Z);
      if (X <= 1931.533813 && X >= 1323.255126 && Y <= 2036.987426 && Y >= 1364.370117)
      {
        SetPlayerHealth(i, 9999999.9);
      }
    }
  }
how would i do this?
Reply


Messages In This Thread
You ask, we answer. - by MenaceX^ - 04.08.2009, 12:02
Re: You ask, we answer. - by sggassasin - 04.08.2009, 12:05
Re: You ask, we answer. - by Castle - 04.08.2009, 12:08
Re: You ask, we answer. - by MenaceX^ - 04.08.2009, 12:12
Re: You ask, we answer. - by V1ceC1ty - 04.08.2009, 13:16
Re: You ask, we answer. - by MenaceX^ - 04.08.2009, 13:23
Re: You ask, we answer. - by V1ceC1ty - 04.08.2009, 13:30
Re: You ask, we answer. - by MenaceX^ - 04.08.2009, 13:32
Re: You ask, we answer. - by V1ceC1ty - 04.08.2009, 13:35
Re: You ask, we answer. - by MenaceX^ - 04.08.2009, 13:45

Forum Jump:


Users browsing this thread: 1 Guest(s)