From 1077973e24e0b5ec0964ffc846a0fd3a1f3edddd Mon Sep 17 00:00:00 2001 From: fallingsheep Date: Sun, 15 Feb 2015 10:38:36 +1100 Subject: [PATCH] fixes --- MPMissions/epoch.Altis/custom/deployvehicle.sqf | 14 ++++++++++++++ MPMissions/epoch.Altis/custom/loadout.sqf | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 MPMissions/epoch.Altis/custom/deployvehicle.sqf diff --git a/MPMissions/epoch.Altis/custom/deployvehicle.sqf b/MPMissions/epoch.Altis/custom/deployvehicle.sqf new file mode 100644 index 0000000..5cd0b17 --- /dev/null +++ b/MPMissions/epoch.Altis/custom/deployvehicle.sqf @@ -0,0 +1,14 @@ +//BUILD BIKE +if (("ItemScraps" in magazines player)&&("ToolKit" in magazines player)) then{ + act = player addaction [("" + ("Build Bike") +""),"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 [("" + ("Build Chopper") +""),"custom\chopper.sqf","",5,false,true,"",""]; +}; +//PACK BIKE +_target = cursorTarget; +_isbike = _target isKindOf "ebike_epoch"; +if (_isbike) then{ + player addaction [("" + ("PackBike") +""),"custom\packbike2.sqf","",5,false,true,"",""]; +}; \ No newline at end of file diff --git a/MPMissions/epoch.Altis/custom/loadout.sqf b/MPMissions/epoch.Altis/custom/loadout.sqf index 6a12762..cce336b 100644 --- a/MPMissions/epoch.Altis/custom/loadout.sqf +++ b/MPMissions/epoch.Altis/custom/loadout.sqf @@ -6,7 +6,7 @@ if (!isServer) then { while {true} do { _player = player; player addEventHandler ["Respawn", { - if (getPlayerUID player in SUPERADMIN_LIST) then { + if (getPlayerUID player in ["76561198087015545","0","0"]) then { player addWeapon "srifle_EBR_F"; player addWeapon "hgun_Pistol_heavy_01_F"; player addWeapon "RPG32_F";