diff --git a/$PBOPREFIX$ b/$PBOPREFIX$ new file mode 100644 index 0000000..ae0dac7 --- /dev/null +++ b/$PBOPREFIX$ @@ -0,0 +1 @@ +x\addons\a3_exile_occupation \ No newline at end of file diff --git a/PboPrefix.txt b/PboPrefix.txt new file mode 100644 index 0000000..ae0dac7 --- /dev/null +++ b/PboPrefix.txt @@ -0,0 +1 @@ +x\addons\a3_exile_occupation \ No newline at end of file diff --git a/initServer.sqf b/initServer.sqf index 792f7f8..bd83bb3 100644 --- a/initServer.sqf +++ b/initServer.sqf @@ -2,7 +2,7 @@ // // Server Occupation script by second_coming // -SC_occupationVersion = "v23 (18-04-2016)"; +SC_occupationVersion = "v24 (18-04-2016)"; // // http://www.exilemod.com/profile/60-second_coming/ // diff --git a/scripts/occupationLog.sqf b/scripts/occupationLog.sqf index a0ceb28..40c5f7e 100644 --- a/scripts/occupationLog.sqf +++ b/scripts/occupationLog.sqf @@ -2,7 +2,7 @@ _logDetail = _this select 0; -if(SC_infiSTAR_log) then +if(SC_infiSTAR_log && !isNil "INFISTARVERSION") then { ['A3_EXILE_OCCUPATION',_logDetail] call FNC_A3_CUSTOMLOG; } diff --git a/scripts/occupationPublicBus.sqf b/scripts/occupationPublicBus.sqf index 728fa34..e6784d4 100644 --- a/scripts/occupationPublicBus.sqf +++ b/scripts/occupationPublicBus.sqf @@ -36,6 +36,7 @@ busDriver setCaptive true; _publicBus = createVehicle [SC_occupyPublicBusClass, _spawnLocation, [], 0, "CAN_COLLIDE"]; SC_publicBusArray = SC_publicBusArray + [_publicBus]; _publicBus setVariable ["SC_assignedDriver", busDriver,true]; +_publicBus setVariable ["SC_publicBus", true,true]; _publicBus setVariable ["SC_vehicleSpawnLocation", _spawnLocation,true]; _publicBus addEventHandler ["getin", "_this call SC_fnc_getOnBus;"]; _publicBus addEventHandler ["getout", "_this call SC_fnc_getOffBus;"];