20.08.2011, 14:35
Heey guys,
I just made a basic for capture zones with no timer and you can capture it everytime:
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.
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;
}
}
Can someone help me with this pls.
I give rep+ for it.




