19.11.2011, 08:59
(
Последний раз редактировалось Unte99; 19.11.2011 в 10:00.
)
https://sampforum.blast.hk/showthread.php?tid=136300
First, you have to make ID's for the gangzones:
Then, you have to show the gangzone with the right color:
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);
pawn Код:
// OnPlayerSpawn
GangZoneShowForAll(gangzone1, 0x0080FFBB);
GangZoneShowForAll(gangzone2, 0x0080FFBB);
GangZoneShowForAll(gangzone3, 0x0080FFBB);
GangZoneShowForAll(gangzone4, 0x0080FFBB);