Capture Zones Basic needs more.
#1

Heey guys,
I just made a basic for capture zones with no timer and you can capture it everytime:
Code:
public OnPlayerPickUpPickup(playerid, pickupid)
{
	if(pickupid==areap)
	{
		if(gTeam[playerid]==TEAM_EUROPE)
		{
		GangZoneShowForAll(area,GZ_YELLOW);
		}
		if(gTeam[playerid]==TEAM_USA)
		{
		GangZoneShowForAll(area,GZ_BLUE);
		}
	}
	if(pickupid==oldairportp)
	{
		if(gTeam[playerid]==TEAM_EUROPE)
		{
		GangZoneShowForAll(oldairport,GZ_YELLOW);
		}
		if(gTeam[playerid]==TEAM_USA)
		{
		GangZoneShowForAll(oldairport,GZ_BLUE);
		}
	}
	return 1;
}
}
Now i need add a 20 seconds timer to it. And if team has the capture that you cant capture it anymore.
Can someone help me with this pls.
I give rep+ for it.
Reply


Messages In This Thread
Capture Zones Basic needs more. - by Admigo - 20.08.2011, 14:35
Re: Capture Zones Basic needs more. - by Lorenc_ - 20.08.2011, 14:58
Re: Capture Zones Basic needs more. - by Admigo - 20.08.2011, 15:11
Re: Capture Zones Basic needs more. - by Admigo - 20.08.2011, 15:42
Re: Capture Zones Basic needs more. - by Babul - 20.08.2011, 16:17
Re: Capture Zones Basic needs more. - by Pinguinn - 20.08.2011, 16:52
Re: Capture Zones Basic needs more. - by Admigo - 20.08.2011, 20:27
Re: Capture Zones Basic needs more. - by FearLe$$ - 29.06.2012, 05:09

Forum Jump:


Users browsing this thread: 3 Guest(s)