Epoch/Sources/epoch_code/init/fn_postinit.sqf

40 lines
768 B
Plaintext
Raw Normal View History

2015-12-07 16:24:52 +00:00
/*
Author: Aaron Clark - EpochMod.com
Contributors:
Description:
Initalize Player
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
2016-06-13 16:54:19 +00:00
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/init/fn_postinit.sqf
2015-12-07 16:24:52 +00:00
*/
if (isDedicated) then {
// dedicated server
call compile preprocessFileLineNumbers "\epoch_server\init\server_init.sqf";
} else {
if (hasInterface) then {
if (isMultiplayer) then {
// start multiplayer game
call compile preprocessFileLineNumbers "epoch_code\init\client_init.sqf";
};
if (isServer) then {
// listen server host
} else {
// all players
};
} else {
// Headless Clients
};
2015-09-14 20:55:36 +00:00
};
true