GangZone not showing.
#1

In this Gamemode there is only 1 large gangzone, which covers the whole Los Santos Area.
The GangZone shows only when i open gta menu ( escape button ) then the map, but it doesn't show on the ingame mini map.
Here is the code:

pawn Код:
new USAZone;
Under OnGameModeInit:

pawn Код:
USAZone = GangZoneCreate( 2958.000, -2951.117, 39.178, 596.864 );
Under OnPlayerConnect:

pawn Код:
GangZoneShowForPlayer( playerid, USAZone, 0x0000BBAA);
SOLVED : miny/minx mustn't be bigger than maxx/maxy.
Reply
#2

Too large ganzones will not show on the minimap.
You can fix it by creating several smaller ones.

EDIT:
https://sampwiki.blast.hk/wiki/GangZoneCreate
pawn Код:
(Float:minx, Float:miny, Float:maxx, Float:maxy)
The minx can't be higher then maxx
Reply
#3

So shall i divide it into 2 gangzones?
Reply
#4

Quote:
Originally Posted by Battlezone
Посмотреть сообщение
So shall i divide it into 2 gangzones?
You can try, if not you may have to add more gangzones.
Reply
#5

Quote:
Originally Posted by Thresh
Посмотреть сообщение
Too large ganzones will not show on the minimap.
You can fix it by creating several smaller ones.
Not true. I've covered the whole of SA with one gangzone before and it worked fine.

It seems that your parameters are wrong.

It should be

(Float:minx, Float:miny, Float:maxx, Float:maxy)

But your minx is actually bigger than your maxx.
Reply
#6

Then how do i see it on the main map ( the gta menu one ) ?
Edit: SOLVED Thanks everyone
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)