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