Ignatz_Tools/CfgActionMenu_self.hpp
2018-05-01 00:59:28 +02:00

15 lines
536 B
C++

class Ignatz_DoorOpener
{
condition = "if (dyna_AtHome && dyna_IsDriver) then {['opencheck'] call Ignatz_Client_DoorOpener} else {false};";
action = "['open'] call Ignatz_Client_DoorOpener;";
icon = "addons\pics\Actions\Gate_Open.paa";
tooltip = "Open Gate";
};
class Ignatz_DoorCloser
{
condition = "if (dyna_AtHome && dyna_IsDriver) then {['closecheck'] call Ignatz_Client_DoorOpener} else {false};";
action = "['close'] call Ignatz_Client_DoorOpener;";
icon = "addons\pics\Actions\Gate_Close.paa";
tooltip = "Close Gate";
};