Posts: 366
Threads: 113
Joined: Feb 2014
04.01.2015, 05:56
(
Последний раз редактировалось Arxalan; 04.01.2015 в 06:52.
)
hello . i created the gang zones from the following link :
https://sampforum.blast.hk/showthread.php?tid=276352
I used the Zone Attack #1 in my Script and then i made new command /war and added ZoneTimer(); in it. Now when i use /war on other gang zones it started to flashing but the time never ends and the zone never stop flashing and when i get out of that zone it stills flashes.
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
I cannot deem what you've made out of that topic, please post your code here.
Posts: 366
Threads: 113
Joined: Feb 2014
I copy and paste the exact code from the following link :
https://sampforum.blast.hk/showthread.php?tid=276352
But as there aren't any discussion about Teams so i made a pickup for a team then i use CMD:war and you can see the following :
PHP код:
CMD:war(playerid , params[])
{
ZoneTimer();
}
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
You're sure you have the "GangZoneStopFlashForAll(ZoneID[i]);"'s in the script correctly?
Posts: 366
Threads: 113
Joined: Feb 2014
Yes ,
I made another new FS and copied and pasted the exact commands from tutorial now how can a player join the team and how can he attack on specific zone/territory ?
Posts: 366
Threads: 113
Joined: Feb 2014
I used Pickup and use SetPlayerTeam on PlayerPickup but can't do war . I want that when player enter into enemy territory he/she can start turfing by /turf or /war.
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
Try removing the "GetPlayersInZone(i, Teams[t]) >= MIN_MEMBERS_TO_START_WAR"'s, and put it under your command instead of a local function, unless it's used elsewhere.
Posts: 366
Threads: 113
Joined: Feb 2014