little help with isplayerinarea and gangzone
#2

Код:
IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    if (x > minx && x < maxx && y > miny && y < maxy) return 1;
    return 0;
}
this is the right code so you can see its inverted ..

minx maxx miny maxy

all x then all y



Reply


Messages In This Thread
little help with isplayerinarea and gangzone - by boelie - 10.07.2011, 09:48
Re: little help with isplayerinarea and gangzone - by iJumbo - 10.07.2011, 09:56

Forum Jump:


Users browsing this thread: 1 Guest(s)