Gangzone Problem - Bug
#1

I've got problem.
When i check the gangzone through Game ESC > Menu i saw it all fine creating a rectangular box.

But when i check and go to the minx and miny coordinate position.
The whole map (San Andreas) is covered with color green gangzone (the one that i made).
The only part of the map that wasn't covered is the minx, miny, maxx and maxy.

Screenshot:



Code:

pawn Code:
Zone[0] = GangZoneCreate(2190.9854, -1630.0773, 2539.4421, -2098.5598);

//OnPlayerConnect

GangZoneShowForPlayer(playerid, Zone[0], COLOR_GREEN);
Reply
#2

pawn Code:
public OnGameModeInt()
{
Zone[0] = GangZoneCreate(2190.9854, -1630.0773, 2539.4421, -2098.5598);
return 1;
}

public OnPlayerSpawn(playerid)
{
GangZoneShowForAll(Zone[0], COLOR_GREEN);
return 1;
}
Reply
#3

that's doesn't make any sense.
The difference in the code is you're making the gangzone show for all players.
So it means when there is players and already gangzone showed.

It will show gangzone to all players online everytime there is new player joined.

That doesn't fix the problem.
Reply
#4

you want to see gang zone for all player or just for player?
Reply
#5



Code:
I've got problem.
When i check the gangzone through Game ESC > Menu i saw it all fine creating a rectangular box.

But when i check and go to the minx and miny coordinate position.
The whole map (San Andreas) is covered with color green gangzone (the one that i made).
The only part of the map that wasn't covered is the minx, miny, maxx and maxy.
I didn't said anything about showing it all for players or for players only.
I've got problems that when i reach inside the gangzone. The gangzone disappears then the whole San Andreas map are covered with that gangzone.
Reply
#6

Never mind.
i use gangzonecreate wrong. fixed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)