-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by karena
-
-
-
cobalt_file is itemtool NON in loot tablet for now, u can put cobalt_file in your inventory whit the special loadout or whit manual add in db or can spawn it whit some admin tool.
if u not like it ... u can change it :D
if cobalt file is in player hand ... the playe can start the Event.
-
nice axem :D
p.s. in my code i LOSE some " { "
for every ELSE must : open after ELSE and before IF {
and close all at end of script.
-
im not a scripter, but, if u put an ELSE statment on every check ?
like this
if (_playerID in AG_epoch_top) then { _inventory = [["NVGoggles","ItemEtool","ItemGps","M4A1_AIM_SD_camo","glock17_EP1","ItemKeyKit","ItemMatchbox"], ["17Rnd_9x19_glock17","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemGoldBar","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","ItemBloodbag","ItemAntibiotic","ItemSodaCoke","FoodCanBakedBeans","ItemBandage","ItemBandage","ItemMorphine","ItemTinBar","ItemTinBar","PartGeneric"]]; _backpack = ["DZ_British_ACU",[[],[]],[[],[]]]; } else if (_playerID in AG_epoch_mid) then { _inventory = [["NVGoggles","ItemEtool","ItemMap","bizon_silenced","ItemMatchbox"], ["64Rnd_9x19_SD_Bizon","64Rnd_9x19_SD_Bizon","64Rnd_9x19_SD_Bizon","ItemBloodbag","ItemSodaCoke","FoodCanBakedBeans","ItemBandage","ItemBandage"]]; _backpack = ["DZ_ALICE_Pack_EP1",[[],[]],[[],[]]]; } else if (_playerID in AG_epoch_low) then { _inventory = [["ItemEtool","glock17_EP1","ItemMatchbox","ItemMap"], ["17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemBloodbag","ItemSodaCoke","FoodCanBakedBeans","ItemBandage","ItemBandage"]]; _backpack = ["DZ_Patrol_Pack_EP1",[[],[]],[[],[]]]; } else if (_playerID in AG_epoch_admin) then { _inventory = [["ItemGPS","NVGoggles","ItemFlashlight","ItemWatch","ItemCompass","M9SD","M4A1_AIM_SD_camo","ItemMatchbox"], ["15Rnd_9x19_M9SD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemBloodbag","ItemPainkiller","ItemEpinephrine","ItemAntibiotic","ItemMorphine","ItemWaterbottle","FoodCanBakedBeans"]]; _backpack = ["DZ_LargeGunBag_EP1",[[],[]],[[],[]]]; } else { _inventory = []; _backpack = []; };
can someone check this ?
-
i use this :
in mission i create a folder named "eventi"
and put 3 event in it (giallo.spf , blu,sqf, rosso,sqf)
then i use a fn_selfaction and put inside
//Trigger event KARENA _karena = items player; if ("Cobalt_File" in _karena) then { hasBagItem = true; } else { hasBagItem = false;}; if((speed player <= 1) && hasBagItem && _canDo) then { if (evento < 0) then { evento = player addaction[("<t color=""#ffff15"">" + ("Evento Giallo") +"</t>"),"eventi\giallo.sqf","",-10,false,true,"", ""]; evento1 = player addaction[("<t color=""#1515ff"">" + ("Evento Blu") +"</t>"),"eventi\blu.sqf","",-10,false,true,"", ""]; evento2 = player addaction[("<t color=""#ff1515"">" + ("Evento Rosso") +"</t>"),"eventi\rosso.sqf","",-10,false,true,"", ""]; }; } else { player removeAction evento; evento = -1; player removeAction evento1; evento1 = -1; player removeAction evento2; evento2 = -1; }; //fine trigger event KARENA
immediately after the _canDo
u can put this after the selfblod
now u MUST have a special item in inventory " Cobalt_File "
-
a Very Big Thx
i put a menu' scroll to one inventory obj :D
now i can start a special event during play :D
i need just the "special" item in my hand :D
Can't unlock cars?
in Server Install
Posted
u must check all modified CUSTOM file