Gang Zones
#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


Messages In This Thread
Gang Zones - by Qur - 19.11.2011, 08:12
Re: Gang Zones - by GangsTa_ - 19.11.2011, 08:27
Re: Gang Zones - by Qur - 19.11.2011, 08:38
Re: Gang Zones - by Unte99 - 19.11.2011, 08:59
Re: Gang Zones - by Qur - 19.11.2011, 09:40
Re: Gang Zones - by GangsTa_ - 19.11.2011, 09:52
Re: Gang Zones - by Qur - 19.11.2011, 09:54
Re: Gang Zones - by Unte99 - 19.11.2011, 09:59
Re: Gang Zones - by Qur - 19.11.2011, 10:02
Re: Gang Zones - by Unte99 - 19.11.2011, 10:04

Forum Jump:


Users browsing this thread: 2 Guest(s)