Transparent gang zone
#2

Well you used %s for a color, colors are normal integers, no need to use format, if you save the color in RGBA format this should work
Delete previous alpha with "& ~0xFF" and add the new alpha with "| 0x50"
pawn Код:
GangZoneStopFlashForAll(GangZone[zoneid][ZoneHolder]);
GangZoneShowForAll(GangZone[zoneid][ZoneHolder], ((Gang[gangid][GangColor] & ~0xFF) | 0x50));
Reply


Messages In This Thread
Transparent gang zone - by Rageparadise - 30.09.2015, 20:48
AW: Transparent gang zone - by Nero_3D - 30.09.2015, 22:15
Re: AW: Transparent gang zone - by Rageparadise - 01.10.2015, 17:22
AW: Transparent gang zone - by Nero_3D - 01.10.2015, 17:46
Re: Transparent gang zone - by Crayder - 01.10.2015, 17:57
Re: Transparent gang zone - by Rageparadise - 02.10.2015, 23:12

Forum Jump:


Users browsing this thread: 1 Guest(s)