Make This Zone Code Takable? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Make This Zone Code Takable? (
/showthread.php?tid=185607)
Make This Zone Code Takable? -
<Weponz> - 25.10.2010
How can i make this zone code so other teams can take it if thay kill 3+ members currently in control of that zone and hold it(kill 3+ and stay in zone) for a certain time? If all attacking members die,Zone is not taken?
Code:
new gangzone1;
public OnGameModeInit()
{
gangzone1 = GangZoneCreate(-2323.7312,1675.7844,-2111.0886,1949.0634);//Tank Island
return 1;
}
public OnPlayerSpawn(playerid)
{
GangZoneShowForAll(gangzone1,COLOR_DEFINE);
return 1;
}