Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgInteractionMenus
- {
- class Car
- {
- targetType = 2;
- target = "Car";
- //////////////////////////////////////////////////////////////////////////////////
- copy this below
- ///////////////////////////////////////////////////////////////////////////////////
- class Actions
- {
- class ScanLock: ExileAbstractAction
- {
- title = "Scan Lock";
- condition = "('Exile_Item_ThermalScannerPro' in (magazines player)) && !ExilePlayerInSafezone && ((locked ExileClientInteractionObject) != 1)";
- action = "_this call ExileClient_object_lock_scan";
- };
- // Locks a vehicle
- class Lock: ExileAbstractAction
- {
- title = "Lock";
- condition = "((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)";
- action = "true spawn ExileClient_object_lock_toggle";
- };
- // Unlocks a vehicle
- class Unlock: ExileAbstractAction
- {
- title = "Unlock";
- condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
- action = "false spawn ExileClient_object_lock_toggle";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement