Jump to content
  • 0

need help


deik

Question

hello. guys tell me how to run one of the three files randomly when restarting the server. now it runs ExecVM "\z\addons\dayz_server\WAI\static\sector.sqf";, and I need to have sector.sqf, sector2.sqf, sector3.sqf. sorry for my English, I use online translation.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
5 hours ago, deik said:

hello. guys tell me how to run one of the three files randomly when restarting the server. now it runs ExecVM "\z\addons\dayz_server\WAI\static\sector.sqf";, and I need to have sector.sqf, sector2.sqf, sector3.sqf. sorry for my English, I use online translation.

ExecVM format["\z\addons\dayz_server\WAI\static\%1.sqf",(["sector","sector2","sector3"] call BIS_fnc_selectRandom)];

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...