Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * ExileServer_object_vehicle_event_onGetIn
- *
- * Exile Mod
- * www.exilemod.com
- * © 2015 Exile Mod Team
- *
- * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
- * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
- */
- private["_vehicleObject","_Cycles","_veh","_pos"];
- _vehicleObject = _this select 0;
- if !(simulationEnabled _vehicleObject) then
- {
- _vehicleObject enableSimulationGlobal true;
- };
- _Cycles = ["Exile_Bike_OldBike","Exile_Bike_MountainBike"];
- _veh = _this select 0;
- if (typeOf (_veh) in _Cycles) then {
- _veh setVectorUp [0,0,1];
- _pos = getPosATL _veh;
- _pos set [2,(_pos select 2) + 0.9];
- _veh setPosATL _pos;
- };
- true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement