Advertisement
Palland

Untitled

Apr 1st, 2020
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. class CfgInteractionMenus
  2. {
  3. class Car
  4. {
  5. targetType = 2;
  6. target = "Car";
  7. //////////////////////////////////////////////////////////////////////////////////
  8. copy this below
  9. ///////////////////////////////////////////////////////////////////////////////////
  10. class Actions
  11. {
  12. class ScanLock: ExileAbstractAction
  13. {
  14. title = "Scan Lock";
  15. condition = "('Exile_Item_ThermalScannerPro' in (magazines player)) && !ExilePlayerInSafezone && ((locked ExileClientInteractionObject) != 1)";
  16. action = "_this call ExileClient_object_lock_scan";
  17. };
  18.  
  19. // Locks a vehicle
  20. class Lock: ExileAbstractAction
  21. {
  22. title = "Lock";
  23. condition = "((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)";
  24. action = "true spawn ExileClient_object_lock_toggle";
  25. };
  26.  
  27. // Unlocks a vehicle
  28. class Unlock: ExileAbstractAction
  29. {
  30. title = "Unlock";
  31. condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
  32. action = "false spawn ExileClient_object_lock_toggle";
  33. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement