Gang Zone
#2

Use the IsPlayerInArea function which is below. ( I sorta edited it for you )

pawn Code:
public IsPlayerInArea(playerid, Float:maxx, Float:maxy, Float:minx, Float:miny)
{
   new Float:x, Float:y, Float:z;
   GetPlayerPos(playerid, x, y, z);
   if(x < maxx && y < maxy  && x > minx && y > miny) return 1;
   return 0;
}
Reply


Messages In This Thread
Gang Zone - by shoru93 - 06.07.2010, 21:37
Re: Gang Zone - by Carlton - 06.07.2010, 21:46
Re: Gang Zone - by shoru93 - 06.07.2010, 21:52
Re: Gang Zone - by Carlton - 06.07.2010, 21:53
Re: Gang Zone - by shoru93 - 06.07.2010, 21:56
Re: Gang Zone - by Antonio [G-RP] - 06.07.2010, 21:57
Re: Gang Zone - by Carlton - 06.07.2010, 22:04
Re: Gang Zone - by shoru93 - 06.07.2010, 22:17
Re: Gang Zone - by shoru93 - 06.07.2010, 22:25
Re: Gang Zone - by Carlton - 06.07.2010, 22:28

Forum Jump:


Users browsing this thread: 1 Guest(s)