25.10.2018, 10:00
How can I add a new capture zone? I tried to add in ''new const gZone[MAX_CAPTURE_ZONES][e_ZONE] =''
But then I get this error: ''initialization data exceeds declared size''
How it's possible to add more capture zones?
But then I get this error: ''initialization data exceeds declared size''
PHP код:
new const gZone[MAX_CAPTURE_ZONES][e_ZONE] =
{
{"Meat Factory", MEATFACTORY_GANGZONE,MEATFACTORY_CP,MEATFACTORY_SPAWN_POINT},
{"Snake Farm",SNAKEFARM_GANGZONE,SNAKEFARM_CP,SNAKEFARM_SPAWN_POINT},
{"Radio base",RADIOBASE_GANGZONE,RADIOBASE_CP,RADIOBASE_SPAWN_POINT},
{"Missile factory", MISSILEFACTORY_GANGZONE, MISSILEFACTORY_CP, MISSILEFACTORY_SP},
{"Bunker", BUNKER_GANGZONE, {-55.4366,1821.8054,17.6476},{-46.8643,1846.6771,17.6406}},
{"Area 51 Airfield", {114.428298, 1944.034179, 330.428283, 2096.034179},{206.3778,1984.4216,17.6406}, {261.5969,2054.3059,17.6407}},
{"Healing point", {-219.959381, 2328.514648, -91.959381, 2472.514648}, {-170.0381,2341.7070,51.1565}, {-183.7791,2382.4951,55.9716}},
{"Desert airport", {205.606933, 2398.045410, 453.606933, 2622.045410}, {404.1522,2535.3142,16.5458}, {413.7609,2536.4856,19.1484}}
};