mirror of
https://github.com/SnarkIndustries/A3XAI-Final.git
synced 2024-08-30 17:22:13 +00:00
Releasing previously unreleased version. Completely unsupported with no guarantee of functionality. Use at own risk.
19 lines
423 B
Plaintext
19 lines
423 B
Plaintext
#include "\A3XAI\globaldefines.hpp"
|
|
|
|
private ["_object"];
|
|
|
|
_object = _this;
|
|
|
|
_object addEventHandler ["GetIn",{
|
|
if (isPlayer (_this select 2)) then {
|
|
(_this select 2) action ["getOut",(_this select 0)];
|
|
if ((_this select 0) getVariable ["VehicleDisabled",false]) then {deleteVehicle (_this select 0);};
|
|
};
|
|
}];
|
|
|
|
_object setVehicleLock "LOCKEDPLAYER";
|
|
_object enableCopilot false;
|
|
_object enableRopeAttach false;
|
|
|
|
true
|