Native help
#3

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


Messages In This Thread
Native help - by willsuckformoney - 24.07.2010, 05:09
Re: Native help - by TouR - 24.07.2010, 05:09
Re: Native help - by Carlton - 24.07.2010, 05:10
Re: Native help - by willsuckformoney - 24.07.2010, 05:11
Re: Native help - by TouR - 24.07.2010, 05:17
Re: Native help - by willsuckformoney - 24.07.2010, 05:23

Forum Jump:


Users browsing this thread: 1 Guest(s)