This commit is contained in:
fallingsheep 2015-02-15 10:38:36 +11:00
parent 1abf4508ee
commit 1077973e24
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,14 @@
//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,"",""];
};

View File

@ -6,7 +6,7 @@ if (!isServer) then {
while {true} do { while {true} do {
_player = player; _player = player;
player addEventHandler ["Respawn", { 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 "srifle_EBR_F";
player addWeapon "hgun_Pistol_heavy_01_F"; player addWeapon "hgun_Pistol_heavy_01_F";
player addWeapon "RPG32_F"; player addWeapon "RPG32_F";