hi
how can i lock aircraft to all but pilots
many thanks
edit
====
found a script to do it .. but cant get it working
script by mandoble
// Only pilots.sqf
// Only pilots piloting
_vehicle = _this select 0;
_pilotstypes = ["SoldierWPilot", "BISCamelPilot", "SoldierEPilot", "BISCamelPilot2"];
_driver = objNull;
while {damage _vehicle < 0.5} do
{
_driver = driver _vehicle;
if (!isNull _driver) then
{
if (!((typeOf _driver) in _pilotstypes)) then
{
_driver action ["GETOUT", _vehicle];
};
};
Sleep 1;
};
and in init field of chopper i have
nul= [] execVM "onlypilots.sqf"
anyone tell me what im doing wrong as anyone is still able to fly the chopper