Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Created by νєтι¢υѕ. For Bay City Community.
- private ["_numberone", "_vehicleselect", "_veh", "_NamePlayer"];
- _numberone = _this select 1;
- _vehicleselect = nearestObjects [_numberone, ["Car"], 5];
- _NamePlayer = name player;
- if (count _vehicleselect > 0) then {
- _veh = (_vehicleselect select 0);
- };
- if (!isNil "_veh") then {
- if ({alive _x} count crew _veh == 0) then {
- hintSilent format ["%1: You vehicle is being flipped", _NamePlayer];
- player playMoveNow "AinvPknlMstpSnonWnonDnon_medic_1";
- sleep 4;
- _veh setVectorUp [0, 0, 1];
- _veh setPosATL [getPosATL _veh select 0, getPosATL _veh select 1, 0];
- hintSilent format ["%1: Vehicle Successfully flipped!", _NamePlayer];
- } else {
- hintSilent format ["%1: Their are still people in the vehicle", _NamePlayer];
- };
- } else {
- hintSilent format ["%1: Their is no vehicle in range currently!", _NamePlayer];
- };
- // TO ADD!: This script is run locally. You would have to implement the script into a public var or whatever you want it to do to run on other PC's
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement