Yurichenk 28 Posted January 15, 2019 How can I call a list of (UIDs, variable names, class names) Defined by a class and that list is in another file? For example, a file on a dedicated server. something like: Script.sqf Thislist [server / List_Blufor.sqf] Swicthmove [""]. --\*or */-- Thislist [List_BLU] Swicthmove [""]. ----------------------------------------------------------------------- List_Blufor.sqf List_BLU = ["456UID", "586UID"]; Share this post Link to post Share on other sites
Yurichenk 28 Posted January 15, 2019 Let's see, at least you could tell me if this would work even on a dedicated server if I put the files marked in red on the server and change the address in the green zone? init.sqf [] execVM "Slots_Master.sqf"; Slots_Master.sqf BLU_UID = call compile preprocessFileLineNumbers "client/BLU_UID.txt"; OPF_UID = call compile preprocessFileLineNumbers "client/OPF_UID.txt"; ["BLU_UID", s1] call Rerserved_slot; ["OPF_UID", s2] call Rerserved_slot; **My Script** BLU_UID.txt ["76566179256348507",""]; OPF_UID.txt ["52366712986322541",""]; Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted January 19, 2019 Guys dont laugh . . . but i don't have the a key in my keybord to be able to mention Larrow ! If you see this Larrow or someone , please help if you can , it's based on your post : Thanks ! Just to know @Yurichenkthis is actually a double post : @Yurichenk 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted January 21, 2019 Hello there Yurichenk ! I was checking about how to run externally the .txt file and i noticed the A3Wasteland_settings folder - this folder goes on the server - A3Wasteland_settings\init.sqf // @file Version: 1.0 // @file Name: init.sqf // @file Author: AgentRev // @file Created: 29/06/2013 12:09 // Add custom scripts you wish to be executed on server start here // config.sqf, admins.sqf, and serverRules.sqf are already loaded automatically execVM (externalConfigFolder + "\bannedNames.sqf"); Have you manage to make it work differently ? Did you tested Larrow's Example ? Share this post Link to post Share on other sites