mirror of
https://github.com/Ignatz-HeMan/Ignatz_Tools.git
synced 2024-08-30 16:12:11 +00:00
15 lines
536 B
C++
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";
|
||
|
};
|