SA-MP Forums Archive
Gang Zone's - 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: Gang Zone's (/showthread.php?tid=72327)



Gang Zone's - Frankox - 07.04.2009

Код:
new TEAM_GROVE_GANGZONE;
new TEAM_BALLAS_GANGZONE;
new TEAM_VAGOS_GANGZONE;
new TEAM_ARMY_GANGZONE;


public OnGameModeInIt()
  TEAM_GROVE_GANGZONE = GangZoneCreate(2113.53, -1764.764, 2512.828, -1504.214); // Grove gang zone
  TEAM_BALLAS_GANGZONE = GangZoneCreate(1706.627, -1946.361, 1999.445, -1468.684); // Ballas gang zone
  TEAM_VAGOS_GANGZONE = GangZoneCreate(2246.63, -1508.161, 2607.899, -1239.715); // Vagos gang zone
  TEAM_ARMY_GANGZONE = GangZoneCreate(2425.363, -2601.686, 2828.463, -2329.292); // Arrmy gang zone
 



public OnPlayerSpawn(playerid)
{
	SetPlayerToTeamColor(playerid);
  GangZoneShowForPlayer(playerid, TEAM_GROVE_GANGZONE, 0x00FF0096); // Grove
  GangZoneShowForPlayer(playerid, TEAM_BALLAS_GANGZONE, 0xFF00FF96); // Ballas
  GangZoneShowForPlayer(playerid, TEAM_VAGOS_GANGZONE, 0xFFFF0096); // Vagos
  GangZoneShowForPlayer(playerid, TEAM_ARMY_GANGZONE, 0xFF000096); // Army
	return 1;
}
There are no errors, warnings etc. everything works i have color on maps.... But the problem is cuz i dont know how to make the gangzone to be taken over by other gang...So if you could help me..I want it to be taken over if 2 players gets killed in their by other gang members ..


Re: Gang Zone's - Frankox - 07.04.2009

Quote:
Originally Posted by Frankox
Код:
new TEAM_GROVE_GANGZONE;
new TEAM_BALLAS_GANGZONE;
new TEAM_VAGOS_GANGZONE;
new TEAM_ARMY_GANGZONE;


public OnGameModeInIt()
  TEAM_GROVE_GANGZONE = GangZoneCreate(2113.53, -1764.764, 2512.828, -1504.214); // Grove gang zone
  TEAM_BALLAS_GANGZONE = GangZoneCreate(1706.627, -1946.361, 1999.445, -1468.684); // Ballas gang zone
  TEAM_VAGOS_GANGZONE = GangZoneCreate(2246.63, -1508.161, 2607.899, -1239.715); // Vagos gang zone
  TEAM_ARMY_GANGZONE = GangZoneCreate(2425.363, -2601.686, 2828.463, -2329.292); // Arrmy gang zone
 



public OnPlayerSpawn(playerid)
{
	SetPlayerToTeamColor(playerid);
  GangZoneShowForPlayer(playerid, TEAM_GROVE_GANGZONE, 0x00FF0096); // Grove
  GangZoneShowForPlayer(playerid, TEAM_BALLAS_GANGZONE, 0xFF00FF96); // Ballas
  GangZoneShowForPlayer(playerid, TEAM_VAGOS_GANGZONE, 0xFFFF0096); // Vagos
  GangZoneShowForPlayer(playerid, TEAM_ARMY_GANGZONE, 0xFF000096); // Army
	return 1;
}
There are no errors, warnings etc. everything works i have color on maps.... But the problem is cuz i dont know how to make the gangzone to be taken over by other gang...So if you could help me..I want it to be taken over if 2 players gets killed in their by other gang members ..
Help


Re: Gang Zone's - Frankox - 07.04.2009

C'mon


Re: Gang Zone's - NeRoSiS - 07.04.2009

Stop bumping your topic every hour, im afraid I cant help you with this either as I'v never done gangzones.


Re: Gang Zone's - Frankox - 07.04.2009

Quote:
Originally Posted by NeRoSiS
Stop bumping your topic every hour, im afraid I cant help you with this either as I'v never done gangzones.
Well noone is replieing so im saying help 3 times


Re: Gang Zone's - ICECOLDKILLAK8 - 07.04.2009

Quote:
Originally Posted by NeRoSiS
Stop bumping your topic every hour, im afraid I cant help you with this either as I'v never done gangzones.
If you cant help then why even bother posting saying that you cant help?,
Just set the gang zones color to make it look like its been taken over