SA-MP Forums Archive
GangZone 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)
+--- Thread: GangZone Color (/showthread.php?tid=663743)



GangZone Color - PoniStar - 10.02.2019

hi guys , i have this gangzone:
Код:
    GangZoneShowForPlayer(playerid, AirPortZone, 0xa8a8a8FF);
and i want to when i capture that place the gangzone change to my team color, how can i do that?


Re: GangZone Color - ComDuck - 10.02.2019

I suppose you use GangZoneHideForPlayer to hide the gang zone, and then show the gang zone back to the player using GangZoneShowForPlayer in a different color.


Re: GangZone Color - PoniStar - 10.02.2019

yeah thnx i fixed that but now i have a problem with GangZoneFlash , when i use this , its flash with the color that it has now and a grey color ! is there any way to change that grey color? i mean its should flash with the old team who captured that zone and my team color!


Re: GangZone Color - ComDuck - 10.02.2019

Quote:
Originally Posted by PoniStar
Посмотреть сообщение
yeah thnx i fixed that but now i have a problem with GangZoneFlash , when i use this , its flash with the color that it has now and a grey color ! is there any way to change that grey color? i mean its should flash with the old team who captured that zone and my team color!
Show the code that is responsible for creating/showing/hiding the gang zones.


Re: GangZone Color - PoniStar - 10.02.2019

oh i found it ! about gangzone flash !! and now i have another problem there is a grey border around the gangzones how can i hide them!? i want to just have the color who i set on gangzone show:

GangZoneShowForPlayer(playerid, AirPortZone, 0xa8a8a8FF);


Re: GangZone Color - ComDuck - 10.02.2019

What do you mean by a grey border happening around the gang zone? You can't set the border color through the default native unless you use a custom include to actually modify the border color:

https://sampforum.blast.hk/showthread.php?tid=649230

Maybe show a picture so that I can better understand what your issue?


Re: GangZone Color - PoniStar - 10.02.2019

im talking about this line around the gangzone :
https://i.postimg.cc/R9p8qC0R/gzone.jpg?dl=1


Re: GangZone Color - PoniStar - 10.02.2019

any idea!!?


Re: GangZone Color - PoniStar - 11.02.2019

?