SA-MP Forums Archive
Turf Color problem help please - 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)
+--- Thread: Turf Color problem help please (/showthread.php?tid=451373)



Turf Color problem help please - Kapone21 - 16.07.2013

Hello my turfs look like this:

And when a rival enter on a turf on minimap MAKE FULL color of this map..

How can i make "Transparent"


Re: Turf Color problem help please - Twizted - 16.07.2013

You must add 66 at the end of the color code to make it seen through.


Re: Turf Color problem help please - Kapone21 - 16.07.2013

yea? ok i will try


Re: Turf Color problem help please - Kapone21 - 16.07.2013

i have :
GangZoneShowForPlayer(pla, turf[warid], 0x40863CFF);
what to do for him ?


Re: Turf Color problem help please - IstuntmanI - 16.07.2013

A color format is 0xRRGGBBAA, RR = red amount, GG = green amount, BB = green amount and AA = alpha transparency (what do you want to change), now you have FF, and you can make it transparent by setting it to any range from 00 to 99 and combinations between AA, BB, CC, DD, EE, FF (you can use AA, AB, CA, CE, etc.)


Re: Turf Color problem help please - Twizted - 17.07.2013

Make it like this:

pawn Код:
GangZoneShowForPlayer(pla, turf[warid], 0x40863CAA);