Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2014
991
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. private["_vehicle"];
  2. _vehicle = _this select 3;
  3.  
  4. if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_37") , "PLAIN DOWN"]; };
  5. DZE_ActionInProgress = true;
  6.  
  7. {player removeAction _x} forEach s_player_LockUnlock;s_player_LockUnlock = [];
  8.  
  9. s_player_lockUnlock_crtl = 1;
  10.  
  11. PVDZE_veh_Lock = [_vehicle,true];
  12. if(player distance _vehicle < 10) then {
  13. if (local _vehicle) then {
  14. PVDZE_veh_Lock spawn local_lockUnlock
  15. } else {
  16. publicVariable "PVDZE_veh_Lock";
  17. };
  18. };
  19.  
  20. s_player_lockUnlock_crtl = 1;
  21.  
  22. DZE_ActionInProgress = false;
  23.  
  24. //ZEV lock\unlock sound ->
  25. player action ["lightOn", _vehicle];
  26. _vehicle say3D "signalka";
  27. sleep 0.3;
  28. player action ["lightOff", _vehicle];
  29. //ZEV lock\unlock sound <-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement