SA-MP Forums Archive
Gangzone not showing - 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: Gangzone not showing (/showthread.php?tid=133478)



Gangzone not showing - 02manchestera - 12.03.2010

Can one one here see why the zone that are green wont show up ingame. the green ones are the zone that no one has takeover

Код:
GangZoneShowForAll(Ear ,GCOLOR_GREEN);
	GangZoneShowForAll(Airfield ,GCOLOR_GREEN);
	GangZoneShowForAll(Resturant ,GCOLOR_GREEN);
	GangZoneShowForAll(Oil ,GCOLOR_GREEN);
	GangZoneShowForAll(A ,GCOLOR_GREEN);
	GangZoneShowForAll(Gas ,GCOLOR_GREEN);
	GangZoneShowForAll(OS ,GCOLOR_GREEN);
	GangZoneShowForAll(T ,GCOLOR_GREEN);
	GangZoneShowForAll(D ,GCOLOR_GREEN);
	GangZoneShowForAll(OT ,GCOLOR_GREEN);
Код:
 USA = GangZoneCreate(-385.3699, 2545.777, -93.423, 2837.724);
  GERMANY = GangZoneCreate(-397.0478, 969.2637, 105.1009, 1307.922);

	Ear = GangZoneCreate(-385.3699, 1506.446, -256.9133, 1646.58);
 	EarU = GangZoneCreate(-385.3699, 1506.446, -256.9133, 1646.58);
 	EarG = GangZoneCreate(-385.3699, 1506.446, -256.9133, 1646.58);
  GangZoneShowForAll(Ear, COLOR_GREEN);

  	Town1 = GangZoneCreate(-1681.614, 2428.998, -1307.922, 2826.046);
  Town2 = GangZoneCreate(-899.1964, 1366.311, -688.9946, 1623.225);

  Resturant = GangZoneCreate(-630.6053, 2510.743, -478.7929, 2662.556);
  ResturantU = GangZoneCreate(-630.6053, 2510.743, -478.7929, 2662.556);
  ResturantG = GangZoneCreate(-630.6053, 2510.743, -478.7929, 2662.556);
  GangZoneShowForAll(Resturant, COLOR_GREEN);

  Airfield = GangZoneCreate(268.5911, 2393.964, 467.115, 2604.166);
  AirfieldU = GangZoneCreate(268.5911, 2393.964, 467.115, 2604.166);
  AirfieldG = GangZoneCreate(268.5911, 2393.964, 467.115, 2604.166);
  GangZoneShowForAll(Airfield, COLOR_GREEN);

  Oil = GangZoneCreate(747.384, 2031.95, 805.7734, 2090.34);
  OilU = GangZoneCreate(747.384, 2031.95, 805.7734, 2090.34);
  OilG = GangZoneCreate(747.384, 2031.95, 805.7734, 2090.34);
  GangZoneShowForAll(Oil, COLOR_GREEN);

  A = GangZoneCreate(105.1009, 1786.715, 338.6584, 2055.306);
  AU = GangZoneCreate(105.1009, 1786.715, 338.6584, 2055.306);
  AG = GangZoneCreate(105.1009, 1786.715, 338.6584, 2055.306);
  GangZoneShowForAll(A, COLOR_GREEN);

  University = GangZoneCreate(939.5279, 970.4056, 1169.914, 1187.017);
  UniversityU = GangZoneCreate(939.5279, 970.4056, 1169.914, 1187.017);
  UniversityG = GangZoneCreate(939.5279, 970.4056, 1169.914, 1187.017);
  GangZoneShowForAll(University, COLOR_GREEN);

  Gas = GangZoneCreate(502.1487, 1588.191, 700.6725, 1786.715);
  GasU = GangZoneCreate(502.1487, 1588.191, 700.6725, 1786.715);
  GasG = GangZoneCreate(502.1487, 1588.191, 700.6725, 1786.715);
  GangZoneShowForAll(Gas, COLOR_GREEN);

  OS = GangZoneCreate(105.1009, 1342.956, 280.269, 1483.09);
  OSU = GangZoneCreate(105.1009, 1342.956, 280.269, 1483.09);
  OSG = GangZoneCreate(105.1009, 1342.956, 280.269, 1483.09);
  GangZoneShowForAll(OS, COLOR_GREEN);

  T = GangZoneCreate(408.7256, 1156.11, 712.3504, 1296.244);
  TU = GangZoneCreate(408.7256, 1156.11, 712.3504, 1296.244);
  TG = GangZoneCreate(408.7256, 1156.11, 712.3504, 1296.244);
  GangZoneShowForAll(T, COLOR_GREEN);

	D = GangZoneCreate(-945.9079, 1915.172, -525.5044, 2148.729);
	DU = GangZoneCreate(-945.9079, 1915.172, -525.5044, 2148.729);
	DG = GangZoneCreate(-945.9079, 1915.172, -525.5044, 2148.729);
	GangZoneShowForAll(D, COLOR_GREEN);

	OT = GangZoneCreate(-525.5044, 2125.373, -291.9469, 2277.186);
	OTU = GangZoneCreate(-525.5044, 2125.373, -291.9469, 2277.186);
	OTG = GangZoneCreate(-525.5044, 2125.373, -291.9469, 2277.186);
	GangZoneShowForAll(OT, COLOR_GREEN);

 	OilPump = GangZoneCreate(1015.975, 2861.08, 1121.076,2954.502);
 	OilPumpU = GangZoneCreate(1015.975, 2861.08, 1121.076,2954.502);
 	OilPumpG = GangZoneCreate(1015.975, 2861.08, 1121.076,2954.502);
	GangZoneShowForAll(OilPump, COLOR_GREEN);

 	Cluck = GangZoneCreate(-1237.855, 1763.359, -1156.11, 1868.46);
 	CluckU = GangZoneCreate(-1237.855, 1763.359, -1156.11, 1868.46);
  	CluckG = GangZoneCreate(-1237.855, 1763.359, -1156.11, 1868.46);
	GangZoneShowForAll(Cluck, COLOR_GREEN);

	Beach = GangZoneCreate(210.2018, 2837.724, 326.9805, 2989.536);
	BeachU = GangZoneCreate(210.2018, 2837.724, 326.9805, 2989.536);
	BeachG = GangZoneCreate(210.2018, 2837.724, 326.9805, 2989.536);
	GangZoneShowForAll(Beach, COLOR_GREEN);

  DinerU = GangZoneCreate(-1985.239, 2277.186, -1845.104, 2440.676);
  DinerG = GangZoneCreate(-1985.239, 2277.186, -1845.104, 2440.676);
  Diner = GangZoneCreate(-1985.239, 2277.186, -1845.104, 2440.676);
  GangZoneShowForAll(Diner, COLOR_GREEN);

	print("All gangzones loaded!");