Hello, :)
I need help with edit scripts with player custom loadouts and special zone (VIP).
How can write UID player in 1 files, because now I have to write UID in 2 other?
I want creat new files (vip.sqf) with UID and creat path from 2 files to this one (if ((getPlayerUID player) in [read from vip.sqf]) then {
if ((getPlayerUID player) in ["0","0","0]) then { DefaultMagazines = ["Skin_Soldier_Sniper_PMC_DZ","Skin_SurvivorW2_DZ","ItemBandage","ItemBandage","ItemBandage","30Rnd_9x19_UZI","ItemMorphine","ItemPainkiller","30Rnd_9x19_UZI","30Rnd_9x19_UZI","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","FoodSteakCooked"]; DefaultWeapons = ["UZI_EP1","ItemGPS","ItemWatch","ItemKnife","Itemtoolbox","ItemCrowbar","ItemHatchet_DZE","ItemFlashlightRed","ItemMachete"]; DefaultBackpack = "DZ_ALICE_Pack_EP1"; DefaultBackpackWeapon = ""; };
and
if ((getPlayerUID player) in ["0","0","0"]) exitWith { titleText ["Welcome ViP", "PLAIN DOWN", 3]; //or,\\ titleText [format ["Welcome, %1", name player], "PLAIN DOWN"]; // welcomes you with your name };