[SOLVED]Gang Zone Color?
#1

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
Reply
#2

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

Use the alpha values
Reply
#3

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?
Reply
#4

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)