Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. _lockveh = [
  2. "LOP_NK_T72BB",
  3. "LOP_NK_T72BA",
  4. "LOP_NK_T55",
  5. "O_rhsfactionNK_ZSU_23_4V",
  6. "O_rhsfactionNK_BTR_80A",
  7. "LOP_NK_BMP1"
  8. ];
  9.  
  10.  
  11.  
  12. VL_East_Global =
  13. {
  14. {
  15. //Side of vehicle is determined by commander, then gunner, then others
  16. if ((typeOf _vehicle in _lockveh) then
  17. {
  18. _x setVehicleLock "LOCKED";
  19. };
  20. } foreach _lockveh;
  21. };
  22.  
  23. while {true} do {
  24. //Run the vehicle lock globally (i.e. all clients and server)
  25. [[], "VL_East_Global", true, false] spawn BIS_fnc_MP;
  26.  
  27. sleep 180;
  28. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement