isplayerinarea
#15

ok, here are the coordinates.

1653.387, -2771.438, 2341.7, -2396.403

when i do this at gangzone, i see the gangzone, but when i put this in isplayerinarea its dont work.

pawn Код:
forward AreaCheck();
public AreaCheck()
{
  for(new i=0; i<MAX_PLAYERS; i++)
  {
    if(IsPlayerInArea(i, 1653.387, -2771.438, 2341.7, -2396.403))
    {
      if(IsPlayerInAnyVehicle(i))
      {
      SetVehicleHealth(GetPlayerVehicleID(i),9999);
      }
    }
  }
}



please help
Reply


Messages In This Thread
isplayerinarea - by Headshot1108 - 28.03.2009, 00:04
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 01:10
Re: isplayerinarea - by DMSOrg - 28.03.2009, 01:18
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 01:32
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 08:59
Re: isplayerinarea - by hazdog - 28.03.2009, 09:26
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 11:15
Re: isplayerinarea - by On_Top_Non_Stop - 28.03.2009, 12:07
Re: isplayerinarea - by MenaceX^ - 28.03.2009, 12:11
Re: isplayerinarea - by bogeymanEST - 28.03.2009, 12:31
Re: isplayerinarea - by [M2S]moe - 28.03.2009, 12:53
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 15:56
Re: isplayerinarea - by [M2S]moe - 28.03.2009, 19:37
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 20:41
Re: isplayerinarea - by Headshot1108 - 28.03.2009, 20:44
Re: isplayerinarea - by [M2S]moe - 28.03.2009, 21:32
Re: isplayerinarea - by FUNExtreme - 28.03.2009, 22:26
Re: isplayerinarea - by Nero_3D - 28.03.2009, 23:31
Re: isplayerinarea - by Headshot1108 - 29.03.2009, 00:06
Re: isplayerinarea - by Nero_3D - 29.03.2009, 01:14
Re: isplayerinarea - by Headshot1108 - 29.03.2009, 11:05
Re: isplayerinarea - by Nero_3D - 29.03.2009, 11:26

Forum Jump:


Users browsing this thread: 1 Guest(s)