Arma3Epoch/MPMissions/epoch.Altis/init.sqf
2015-02-13 21:30:02 +11:00

84 lines
3.0 KiB
Plaintext

//Admin list
SUPERADMIN_LIST = [
"76561198087015545",
"0"
];
ADMIN_LIST = [
"0",
"0"
];
MOD_LIST = [
"0",
"0"
];
MASTERADMIN_LIST = SUPERADMIN_LIST + ADMIN_LIST + MOD_LIST;
BANNED_LIST = [
"0","76561198059930120","76561198134916119","76561198130615382","76561198000135158","76561198098132364","76561198127436055",
"76561198120497784","76561198151285096","76561198037143375","76561198053362106","76561197960693668","76561198150211409","76561198118994984",
"76561198150211409","76561198118066332","76561198148495214","76561198124727926","76561198087505309","76561198106834234","76561198056113988",
"76561198153161518","76561198077972256","76561198144416171","76561198151661947","76561198075411542","76561198106140797","76561198118378695",
"76561198062509950","76561198080657666","76561198156021205","76561198126816660","76561197979392398","76561197969005505","76561197978751247",
"76561197971107759","76561197967087500","76561197995117205","76561197964338716","76561198128229370","76561198141766032","76561198131838128",
"76561198037171839","76561198137119508","76561198077957452","76561198055161991","76561198089299178","76561198129631838"
];
//BTC Lift,cargo and fast rope
_logistic = execVM "=BTC=_Logistic\=BTC=_logistic_Init.sqf";
//Status Bar
[] execVM "custom\fn_statusBar.sqf";
// Welcome Credits
[] execVM "custom\welcome.sqf";
//Admin Menu
[] execVM "adminmenu\run.sqf";
[] execVM "adminmenu\loop.sqf";
//Loadouts
[] execVM "custom\loadout.sqf";
//Custom LOOT
if (isServer) then {
fn_getBuildingstospawnLoot = compile preProcessFileLineNumbers "LSpawner\fn_LSgetBuildingstospawnLoot.sqf";
LSdeleter = compile preProcessFileLineNumbers "LSpawner\LSdeleter.sqf";
execVM "LSpawner\Lootspawner.sqf";
};
//Intro video
[] spawn {
["freq-arma3-v2.ogv", false] spawn BIS_fnc_titlecard;
waitUntil {!(isNil "BIS_fnc_titlecard_finished")};
};
//BUILD BIKE
if (("ItemScraps" in magazines player)&&("ToolKit" in magazines player)) then{
act = player addaction [("<t color=""#0074E8"">" + ("Build Bike") +"</t>"),"custom\Bike.sqf","",5,false,true,"",""];
};
//BUILD CHOPPER
if (("ItemScraps" in magazines player)&&("jerrycan_epoch" in magazines player)&&("CircuitParts" in magazines player)&&("VehicleRepair" in magazines player)) then {
act = player addaction [("<t color=""#0074E8"">" + ("Build Chopper") +"</t>"),"custom\chopper.sqf","",5,false,true,"",""];
};
//PACK BIKE
_target = cursorTarget;
_isbike = _target isKindOf "ebike_epoch";
if (_isbike) then{
player addaction [("<t color=""#0074E8"">" + ("PackBike") +"</t>"),"custom\packbike2.sqf","",5,false,true,"",""];
};
//SEM Missions
if(hasInterface)then{execVM "semClient.sqf"};
//VEMF Missions
if (!isDedicated) then {
"VEMFChatMsg" addPublicVariableEventHandler {
systemChat ((_this select 1) select 0);
[
[
[((_this select 1) select 0),"align = 'center' size = '1' font='PuristaBold'"],
["","<br/>"],
[((_this select 1) select 1),"align = 'center' size = '0.5'"]
]
] spawn BIS_fnc_typeText2;
VEMFChatMsg = nil;
};
};