Gang Zones
#1

Hey.. I'm using IntroZones and everything working great.. but after I put the lines I got in savedzones file into the script then login the server I dont see the gang zones.. I mean.. i see them but they have no colors at all.. its almost invisible ;/

Anyway.. this are the lines I got from the file.. I'm using same instructions the IntroZones saying in their topic..

pawn Код:
GangZoneCreate(1660.412841,-2154.605468,2086.925537,-1759.165405);
GangZoneCreate(2643.761718,-1050.638549,2076.523681,-1379.459228);
GangZoneCreate(2827.285888,-2043.866455,2231.632568,-1753.093261);
GangZoneCreate(2534.325927,-1729.502563,2110.162109,-1381.928588);
Btw..! already tried:
new gangzone;
gangzone = GangZoneCreate
and ShowGangZoneForAll
Reply
#2

GangZoneShowForAll at OnPlayerConnect.

CLICK
Reply
#3

still not colors...... what you gave me saying to do it OnPlayerSpawn
and you dont need to write it big i already tried it!! already said
and already said what the problem!!

I see the zones but they dont have any colors!
Reply
#4

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

First, you have to make ID's for the gangzones:


pawn Код:
// On top of your gamemode or filterscript
new gangzone1;
new gangzone2;
new gangzone3;
new gangzone4;

// OnGameModeInit
gangzone1=GangZoneCreate(1660.412841,-2154.605468,2086.925537,-1759.165405);
gangzone2=GangZoneCreate(2643.761718,-1050.638549,2076.523681,-1379.459228);
gangzone3=GangZoneCreate(2827.285888,-2043.866455,2231.632568,-1753.093261);
gangzone4=GangZoneCreate(2534.325927,-1729.502563,2110.162109,-1381.928588);
Then, you have to show the gangzone with the right color:

pawn Код:
// OnPlayerSpawn
GangZoneShowForAll(gangzone1, 0x0080FFBB);
GangZoneShowForAll(gangzone2, 0x0080FFBB);
GangZoneShowForAll(gangzone3, 0x0080FFBB);
GangZoneShowForAll(gangzone4, 0x0080FFBB);
Reply
#5

Sorry but none of your ideas working....

pawn Код:
GangZoneShowForAll(vatoszone, 0xFFFF0060);
    GangZoneShowForAll(lesangrezone, 0x00003360);
    GangZoneShowForAll(bloodzone, 0xFF000060);
    GangZoneShowForAll(cripzone, 0x00FF0060);
Reply
#6

Does it show the gangzones with a different colour?
Reply
#7

Yea it shows.. already said so but all the zones without any colors and it look almost invisible..
Reply
#8

Edited the script, try again. And you have to change the last two numbers for the color transparency:

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

pawn Код:
GangZoneShowForAll(gangzone1, 0x0080FFBB);
GangZoneShowForAll(gangzone2, 0x0080FFBB);
GangZoneShowForAll(gangzone3, 0x0080FFBB);
GangZoneShowForAll(gangzone4, 0x0080FFBB);
Reply
#9

Man.. already did it...

pawn Код:
GangZoneShowForAll(vatoszone, 0xFFFF0055);
    GangZoneShowForAll(lesangrezone, 0x00003355);
    GangZoneShowForAll(bloodzone, 0xFF000055);
    GangZoneShowForAll(cripzone, 0x00FF0055);
its still nothing..
Reply
#10

Quote:
Originally Posted by Qur
Посмотреть сообщение
Man.. already did it...

pawn Код:
GangZoneShowForAll(vatoszone, 0xFFFF0055);
    GangZoneShowForAll(lesangrezone, 0x00003355);
    GangZoneShowForAll(bloodzone, 0xFF000055);
    GangZoneShowForAll(cripzone, 0x00FF0055);
its still nothing..
You didn't understand me... You have to change the last two numbers of the color for the transparency !

GangZoneShowForAll(vatoszone, 0xFFFF0055);

Change 55 to BB and you will see the color more clearly.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)