28.11.2010, 17:22
https://sampwiki.blast.hk/wiki/Useful_Fu...IsPlayerInArea
If you are using the function from the uf.inc, you have to swap the values 0/1 and 2/3, because it is: minx, maxx, miny, maxy
for(new a = 0; a < sizeof(GZ); a++) { IDZ[a] = GangZoneCreate(GZ[a][1], GZ[a][0], GZ[a][3], GZ[a][2]); }
If you are using the function from the uf.inc, you have to swap the values 0/1 and 2/3, because it is: minx, maxx, miny, maxy
for(new a = 0; a < sizeof(GZ); a++) { IDZ[a] = GangZoneCreate(GZ[a][1], GZ[a][0], GZ[a][3], GZ[a][2]); }