Advertisement
iaretechnician

boost_test

Mar 2nd, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         //in variables.sqf you need to add s_player_nox = -1; just below s_player_attach_smoke = -1;
  2.         //and at the bottom of variables, add an array BOOST_CARS = ["classname","classname"];
  3.        
  4.           if ((_invehicle)&& (typeof vehicle player == "BAF_Offroad_W")) then {
  5.             if (s_player_nox < 0 && typeof vehicle == "BAF_Offroad_W" ) then {
  6.              NOX_VEH = _vehicle;
  7.             s_player_nox = NOX_VEH addAction ["<t color='#00FF00'>BOOST!</t>", "scripts\nox.sqf"];
  8.  
  9.                    
  10.             };
  11.         }else {
  12.             if (s_player_nox >= 0) then {
  13.             NOX_VEH removeAction s_player_nox;
  14.             s_player_nox = -1;
  15.             };
  16.         };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement