Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Execute server stuff
- if (isServer) then
- {
- _startbaseParam = "Startbase" call BIS_fnc_getParamValue;
- [_startbaseParam] call compile preprocessFileLineNumbers "bases\init_base.sqf";
- addMissionEventHandler ["HandleDisconnect", {[_this select 0, _this select 2] call edn_fnc_saveLoadout; false}];
- }
- else
- {
- diag_Log "Base will be build on client";
- waitUntil {!(isNull player)};
- diag_Log "Base will be build on client, Time done";
- _startbaseParam = "Startbase" call BIS_fnc_getParamValue;
- [_startbaseParam] call compile preprocessFileLineNumbers "bases\init_base.sqf";
- };
- if (!isDedicated) then
- {
- waitUntil {!isNull Player};
- player enableFatigue false;
- diag_Log "Connection script will be executed on client";
- [[Player],"end_fnc_onPlayerConnectedServer",false,false,false] call BIS_fnc_MP;
- };
- //Execute stuff on server and client
- _igiload = execVM "IgiLoad\IgiLoadInit.sqf";
- tf_no_auto_long_range_radio = true;
- enableSaving [false, false];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement