Posts: 117
Threads: 20
Joined: Jan 2010
Reputation:
0
Change to OnPlayerUpdate();
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
GangZoneCreate accepts the other values, but IsPlayerInArea does not, so you have to swap them there
Posts: 49
Threads: 9
Joined: Sep 2010
Reputation:
0
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! "); } }