28.11.2010, 20:32
for gangzone is this > minx ,miny, maxx, maxy
IsPlayerInArea is this > minx ,maxx , miny, maxy
this should work
for(new a = 0; a < sizeof(GZ); a++) {
if(IsPlayerInArea(playerid, GZ[a][0], GZ[a][2], GZ[a][1], GZ[a][3])) {
SendClientMessage(playerid, COLOR_LIGHTBLUE, "YOU ARE IN A GANGZONE! "); } }
IsPlayerInArea is this > minx ,maxx , miny, maxy
this should work
for(new a = 0; a < sizeof(GZ); a++) {
if(IsPlayerInArea(playerid, GZ[a][0], GZ[a][2], GZ[a][1], GZ[a][3])) {
SendClientMessage(playerid, COLOR_LIGHTBLUE, "YOU ARE IN A GANGZONE! "); } }