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=408448)
GangZone - Color -
JaKe Elite - 18.01.2013
pawn Код:
OfficialZone[0] = GangZoneCreate(2540.051269, -1629.083984, 2196.028808, -1757.185913); //Grove Street
GangZoneShowForPlayer(playerid, OfficialZone[0], 0x00330066);
Okay the problem is,
It works fine.
But the map (where the zone is positioned) can't be seen.
I want to make the gangzone transparent just like in single player.
I use the alpha transparent number or whatever in the end (66).
But didn't work.
Anyone?
Re: GangZone - Color -
Glad2BeHere - 18.01.2013
new OfficialZone[1];
i am gonna test a blank script and get back 2 u
Edit: your code works imma send u something 1 sec...... let me edit it to suit for ur pleasure
Edit2: The following should work
the reason u think its not working is because the color is to like ... transparent rather and need to look very closely
pawn Код:
GangZoneShowForPlayer(playerid, OfficialZone[0], 0x00B02990);
http://gtaforum.hu/index.php/page,gangzone.html <<< get legit colors
Re: GangZone - Color -
JaKe Elite - 18.01.2013
I found out the problem
it is in
pawn Код:
GangZoneShowForPlayer(playerid, OfficialZone[0], 0x00B02990);
for(new idx; idx < sizeof(gInfo); idx++) // here
{
GangZoneShowForPlayer(playerid, gInfo[idx][ID], gInfo[idx][Color]);
}
Now thanks for helping.. i will take it from here.