Jump to content
  • 0

Can someone look at my init.sqf pls


korakot2003

Question

[] execVM "andre_safezone.sqf";
[] execVM "welcome.sqf";
[] execVM "addons\halv_spawn\init.sqf";
[] execVM "addons\messages\init.sqf";
[] execVM "trader\init.sqf";
[] execVM "trader\HALV_takegive_crypto_init.sqf";
[] execVM "disablefuel.sqf";
[] execVM "zcp.sqf";
[] execVM "start_blck.sqf";
 
call compile preProcessFileLineNumbers "cmEarplugs\config.sqf";
 
//Status Bar
if(hasInterface) then{[] execVM "addons\Status_Bar\init_statusBar.sqf"};
 
#include "A3EAI_Client\A3EAI_initclient.sqf";
 
if (isServer) then {
[]  execVM "\q\addons\traderATMs\init.sqf";
execVM "\q\addons\custom_server\init.sqf";
//If anything but server execute this script
} else {
[] spawn {
//This is to spawn the markers when players enter after server has started
[] execVM "debug\addmarkers.sqf";
[] execVM "debug\addmarkers2.sqf";
[] execVM "debug\addmarkers75.sqf";
[] execVM "debug\addmarkers752.sqf";
//Event handler to show messages to players // this can be used for other scripts to send messages to players -- see AIM.sqf
"blck_Message" addPublicVariableEventHandler {titleText[format["%1",_this select 1],"PLAIN DOWN",1];};
};
};
 
if(hasInterface)then{  
      ////////////////////////////////////////////////////////////////////////////////
///////  [scarCode] Missionfile-based server restart warnings  /////////////////
///////  Author: IT07 //////////////////////////////////////////////////////////
///////  For configuration, please open ScarCode\SC_restartWarnings.sqf  ///////
////////////////////////////////////////////////////////////////////////////////
[true] ExecVM "ScarCode\SC_restartWarnings.sqf";
execVM "semClient.sqf"};
};
 
//Attach Explosives
if (!isDedicated and hasInterface) then 
{
while {true} do
{
waitUntil {alive vehicle player};
Sleep 30;
[] execVM "addons\etv\EtV.sqf";
waitUntil {!isNil "EtVInitialized"};
[player] call EtV_Actions;
 
waitUntil {!alive player};
Sleep 30;
[] execVM "addons\etv\EtV.sqf";
waitUntil {!isNil "EtVInitialized"};
[player] call EtV_Actions;
 
 
};
};
 
 
 
i just wanna know if there's anything wrong in the sequence
if so pls educate me where to put which first in which order 
 
thx  :P
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...