How do I make capture zones
#1

I have 5 teams, and I even have gang zones, but now I need a red marker that when you enter it for 30 seconds, you capture it, and that gangzone becomes yours and turns to your teams color! I will give you my codes if you need them.


pawn Код:
#define TEAM_GERMANY 0
#define TEAM_IRAQ 1
#define TEAM_RUSSIA 2
#define TEAM_USA 3
#define TEAM_BANGLADESH 4

pawn Код:
new gTeam[MAX_PLAYERS];
new GZ_ZONE1;
new GZ_ZONE2;
new GZ_ZONE3;
new GZ_ZONE4;
new GZ_ZONE5;

pawn Код:
GZ_ZONE1 = GangZoneCreate(-319.3359375,2654.296875,-128.90625,2815.4296875);

GZ_ZONE2 = GangZoneCreate(-2.9296875,1731.4453125,386.71875,2056.640625);

GZ_ZONE3 = GangZoneCreate(-304.6875,1031.25,14.6484375,1221.6796875);

GZ_ZONE4 = GangZoneCreate(102.5390625,2408.203125,465.8203125,2622.0703125);

GZ_ZONE5 = GangZoneCreate(-468.75,2185.546875,-316.40625,2293.9453125);


Ok so anyone willing to help me though this?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)