[GameMode] Warfield - TDM/DM 0.3.7 (Mysql)
#19

Quote:
Originally Posted by Ercha
Посмотреть сообщение
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''

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_GANGZONEMISSILEFACTORY_CPMISSILEFACTORY_SP},
    {
"Bunker"BUNKER_GANGZONE, {-55.4366,1821.8054,17.6476},{-46.8643,1846.6771,17.6406}},
    {
"Area 51 Airfield", {114.4282981944.034179330.4282832096.034179},{206.3778,1984.4216,17.6406}, {261.5969,2054.3059,17.6407}},
    {
"Healing point", {-219.9593812328.514648, -91.9593812472.514648}, {-170.0381,2341.7070,51.1565}, {-183.7791,2382.4951,55.9716}},
    {
"Desert airport", {205.6069332398.045410453.6069332622.045410}, {404.1522,2535.3142,16.5458}, {413.7609,2536.4856,19.1484}}
}; 
How it's possible to add more capture zones?
Quote:
Originally Posted by ZigGamerx
Посмотреть сообщение
1. Goto your includes folder
2. open WF_Defines
3. Search for #define MAX_CAPTURE_ZONES 7
4. Make it to #define MAX_CAPTURE_ZONES 10 //or more
MAX_CAPTURE_ZONES is supposed to be equal to your zones count.
Reply


Messages In This Thread
Warfield - TDM/DM 0.3.7 (Mysql) - by KaryM4Life - 18.10.2018, 12:41
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by TopShooter2 - 18.10.2018, 12:47
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by BanSilog - 18.10.2018, 13:51
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by AzaMx - 18.10.2018, 16:02
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by KaryM4Life - 18.10.2018, 16:31
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by Logic_ - 18.10.2018, 17:03
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by ZigGamerx - 18.10.2018, 18:41
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by Turret - 18.10.2018, 18:49
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by KaryM4Life - 18.10.2018, 19:02
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by Sumit4 - 19.10.2018, 20:20
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by Danielknow - 20.10.2018, 09:39
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by Venom546 - 22.10.2018, 11:10
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by D1am0nd - 22.10.2018, 17:53
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by KaryM4Life - 22.10.2018, 18:05
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by D1am0nd - 22.10.2018, 18:13
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by KaryM4Life - 22.10.2018, 18:33
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by Ercha - 25.10.2018, 10:00
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by ZigGamerx - 25.10.2018, 10:32
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by KaryM4Life - 25.10.2018, 11:44
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by Variable™ - 25.10.2018, 12:52
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by Ercha - 25.10.2018, 17:36
Re: Warfield - TDM/DM 0.3.7 (Mysql) - by KaryM4Life - 25.10.2018, 17:57

Forum Jump:


Users browsing this thread: 2 Guest(s)