I'm already tired fn_selfatstions suffer with constantly
when I add something new (and exactly what I write myself) - it does not work.
I've tried a lot of options.
I can not understand what is also my fault.
Examples:
if (_inVehicle and (_vehicle isKindOf "Air")) then { if (_showcar = false) then { s_clear_car = player addAction ["Eject other players","scripts\player_clearCar.sqf",[],5,false,true,"",""]; _showcar = true; }; } else { player removeAction s_clear_car; _showcar = false; }; */
if (_canDo) then { if (_testAct < 0) then { _testAct = player addAction ["Suck", "activate_generator.sqs"]; }; } else { _testAct = -1; player removeAction _testAct; };
// I love tea's test code if (_vehicle != player) then //_vehicle != player // player = driver _vehicle { if (driver _veh = player) then { s_clear_car = player addAction ["Eject other players","scripts\player_clearCar.sqf",[],5,false,true,"",""] }; } else { player removeAction s_clear_car; s_clear_car = -1; };