Przychodze z takim oto problemem:
Chcialem zkorzystac z modulu zrzutu zaopatrzenia w misji multiplayer na dedykowanym serwerze. Stworzylem modul wsparcia tak jak BIS przykazal. W pole "inicjacja skrzkynki" wpisalem:
Kod: Zaznacz cały
clearMagazineCargoGlobal _this; clearWeaponCargoGlobal _this; clearItemCargoGlobal _this; clearBackpackCargoGlobal _this; _this addMagazineCargo ["PSZ_556x45_Beryl_30_T_R",100]; _this addMagazineCargo ["PSZ_86x70_Alex_5",20]; _this addMagazineCargo ["PSZ_762x54_Belt_100_T_R",20]; _this addMagazineCargo ["SmokeShell",30]; _this addMagazineCargo ["SmokeShellPurple",5]; _this addMagazineCargo ["SmokeShellOrange",5]; _this addMagazineCargo ["SmokeShellBlue",5]; _this addMagazineCargo ["SmokeShellGreen",5]; _this addMagazineCargo ["SmokeShellRed",5]; _this addMagazineCargo ["SmokeShellYellow",5]; _this addMagazineCargo ["rhs_rpg7_PG7VL_mag",20]; _this addMagazineCargo ["PSZ_Grom_AA",10]; _this additemCargo ["ACE_packingBandage", 75]; _this additemCargo ["ACE_elasticBandage", 35]; _this additemCargo ["ACE_morphine", 40]; _this additemCargo ["ACE_epinephrine", 30]; _this additemCargo ["ACE_atropine", 30]; _this additemCargo ["ACE_tourniquet", 30]; _this additemCargo ["ACE_salineIV_500", 30]; _this additemCargo ["ACE_plasmaIV_500", 30]; _this additemCargo ["ACE_personalAidKit", 5];
Czy brakuje jakiegos wyrazenia na poczatku?
Probowalem dodawac na poczatek tego:
Kod: Zaznacz cały
if (!isServer) exitwith {};
Pozdrawiam