SA-MP Forums Archive
[SOLVED]Gang Zone Color? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [SOLVED]Gang Zone Color? (/showthread.php?tid=136300)



[SOLVED]Gang Zone Color? - FreddeN - 24.03.2010

Well, when I'm creating a gang zone and sets the color, I cant see through the color on the map.

It looks like this:



And here is the line:

Code:
new GroveZone;
new SevilleZone;
Code:
GroveZone = GangZoneCreate(2540.052246,-1628.927856,2223.576904,-1837.724365);
SevilleZone = GangZoneCreate(2812.552978,-1901.364013,2408.397216,-2047.936889);
Code:
GangZoneShowForAll(GroveZone, COLOR_LIGHTGREEN);
GangZoneShowForAll(SevilleZone, COLOR_GREEN);
II want it to look like the single player gang zones, you should be able to see through it.

Thanks



Re: [HELP]Gang Zone Color? - FireFox_ - 24.03.2010

https://sampwiki.blast.hk/wiki/Colors_List

Use the alpha values


Re: [HELP]Gang Zone Color? - FreddeN - 24.03.2010

Quote:
Originally Posted by <Krys>
I changed the color code to GangZoneShowForAll(GroveZone, 0x00FF00FF66);

The code 0x00FF00FF is Light Green, it tured purple when I added 66.

Hmm, what is wrong?


Re: [HELP]Gang Zone Color? - FreddeN - 24.03.2010

Never mind, I didnt see that the last value was the transparency, I removed the FF and putted 66, now it works like it should.

Thanks for the help.