If player leaves the area
#4

Use:

pawn Code:
stock IsPlayerInArea(playerid, Float:xmin, Float:ymin, Float:xmax, Float:ymax)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    if(x >= xmin && y >= ymin && x <= xmax && y <= ymax) return true;
    return false;
}
Reply


Messages In This Thread
If player leaves the area - by The Woody - 04.04.2011, 00:09
Re: If player leaves the area - by Backwardsman97 - 04.04.2011, 00:12
Re: If player leaves the area - by The Woody - 04.04.2011, 00:18
Re: If player leaves the area - by Ricop522 - 04.04.2011, 00:20
Re: If player leaves the area - by The Woody - 04.04.2011, 00:23
Re: If player leaves the area - by Kwarde - 13.04.2011, 05:41
Re: If player leaves the area - by Cameltoe - 13.04.2011, 07:51

Forum Jump:


Users browsing this thread: 1 Guest(s)