this is gang zone. I want save captured zone.. Help me please
PHP Code:
enum tinfo
{
turfID,
turfName[ 40 ],
cityName[ 40 ],
Float:zMinX,
Float:zMinY,
Float:zMaxX,
Float:zMaxY,
TurfColor[ 40 ], // <<<<<<<
TurfOwner[ 40 ], // <<<<<<<
TurfAttacker,
TurfKills,
TurfAttackKills,
TurfWarStarted,
MIT
}
new turfs[MAX_TURFS][tinfo] = {
{ 0, "Grove Street", "LS", 2440.60, -1629.70, 2540.90, -1723.70,>> COLOR_GREEN, TEAM_GROVE,<< -1, 0, 0, 0, 0},
{ 1, "Ganton", "LS", 2440.60, -1629.70, 2226.30, -1723.70, COLOR_GREEN, TEAM_GROVE, -1, 0, 0, 0, 0},
{ 2, "Idlewood", "LS", 1812.60, -1852.80, 1971.60, -1742.30, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 3, "Idlewood", "LS", 1951.60, -1742.30, 2124.60, -1602.30, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 4, "Idlewood", "LS", 1812.60, -1602.30, 2124.60, -1449.60, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 5, "Idlewood", "LS", 2124.60, -1742.30, 2222.50, -1494.00, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 6, "Idlewood", "LS", 1971.60, -1852.80, 2222.50, -1742.30, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 7, "Idlewood", "LS", 1812.60, -1742.30, 1951.60, -1602.30, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 8, "Willow Field", "LS", 1970.60, -2179.20, 2089.00, -1852.80, AZTECA_COLOR, TEAM_AZTECAS, -1, 0, 0, 0, 0},
{ 9, "Willow Field", "LS", 2089.00, -1989.90, 2324.00, -1852.80, AZTECA_COLOR, TEAM_AZTECAS, -1, 0, 0, 0, 0},
{ 10, "Willow Field", "LS", 2089.00, -2235.80, 2201.80, -1989.90, AZTECA_COLOR, TEAM_AZTECAS, -1, 0, 0, 0, 0},
{ 11, "Jefferson", "LS", 2056.80, -1372.00, 2281.40, -1210.70, BALLA_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0},
{ 12, "Jefferson", "LS", 2056.80, -1210.70, 2185.30, -1126.30, BALLA_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0},
{ 13, "Jefferson", "LS", 2056.80, -1449.60, 2266.20, -1372.00, BALLA_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0},
{ 14, "East Los Santos", "LS", 2421.00, -1628.50, 2632.80, -1454.30, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 15, "East Los Santos", "LS", 2222.50, -1628.50, 2421.00, -1494.00, CIVILIAN_COLOR, TEAM_CIVILIAN, -1, 0, 0, 0, 0},
{ 16, "East Los Santos", "LS", 2266.20, -1494.00, 2381.60, -1372.00, BALLA_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0},
{ 17, "East Los Santos", "LS", 2281.60, -1372.00, 2381.60, -1135.00, BALLA_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0},
{ 18, "East Los Santos", "LS", 2381.60, -1454.30, 2462.10, -1135.00, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0},
{ 19, "East Los Santos", "LS", 2462.10, -1454.30, 2581.70, -1135.00, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0},
{ 20, "El Corona", "LS", 1812.60, -2179.20, 1970.60, -1852.80, AZTECA_COLOR, TEAM_AZTECAS, -1, 0, 0, 0, 0},
{ 21, "El Corona", "LS", 1692.60, -2179.20, 1812.60, -1842.20, AZTECA_COLOR, TEAM_AZTECAS, -1, 0, 0, 0, 0},
{ 22, "Glen Park", "LS", 1812.60, -1350.70, 2056.80, -1100.80, BALLA_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0},
{ 23, "Los Flores", "LS", 2581.70, -1393.40, 2747.70, -1135.00, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0},
{ 24, "Las Colinas", "LS", 1994.30, -1100.80, 2056.80, -920.80, BALLA_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0},
{ 25, "Las Colinas", "LS", 2056.80, -1126.30, 2126.80, -920.80, BALLA_COLOR, TEAM_BALLAS, -1, 0, 0, 0, 0},
{ 26, "Las Colinas", "LS", 2185.30, -1154.50, 2281.40, -934.40, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0},
{ 27, "Las Colinas", "LS", 2126.80, -1126.30, 2185.30, -934.40, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0},
{ 28, "Las Colinas", "LS", 2632.70, -1135.00, 2747.70, -945.00, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0},
{ 29, "Las Colinas", "LS", 2281.40, -1135.00, 2632.70, -945.00, VAGOS_COLOR, TEAM_VAGOS, -1, 0, 0, 0, 0},