FallingSheep
OpenDayZ Lord!
help and support begins...now...no ..now!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I'll update the op cheersok got it working but I had to add "_isaCar","_hasNOSitems","_isNOSinstalled" to the top Private
in fn_selfActions.sqf
no i gave after i hit a brick walldid you ever get the raven working for overpoch ???
if soo please instruct me
I was soo close but no cigar
I'll look into it and post it hereHow would I disable the hard braking? I've tried multiple ways but ends in script failure.
//Nitro action
_hasNOSinstalled = _vehicle getVariable["nitroinstalled",0];
if (_inVehicle and _vehicle isKindOf "Car" and speed _vehicle >= 1) then {
if (_inVehicle and _hasNOSinstalled == 1) then {
if (isnil("NITRO_Cond")) then {NITRO_Cond = false;};
if (s_player_nitrobooston <0) then {
if (NITRO_Cond) then {
s_player_nitrobooston = _vehicle addAction [("<t color=""#39C1F3"">" + ("Nitro Off") + "</t>"),"scripts\nitro\nitro.sqf", [_vehicle], 999, false,true,"","driver _target == _this"];
} else {
s_player_nitrobooston = _vehicle addAction [("<t color=""#39C1F3"">" + ("Nitro On") + "</t>"),"scripts\nitro\nitro.sqf", [_vehicle], 999, false,true,"","driver _target == _this"];
};
};
} else {
_vehicle removeAction s_player_nitrobooston;
s_player_nitrobooston = -1;
};
} else {
_vehicle removeAction s_player_nitrobooston;
s_player_nitrobooston = -1;
if (_hasNOSinstalled == 1) then {
_vehicle setVariable ["nitroinstalled", 1, true];
};
};
//Nitro action
_hasNOSinstalled = _vehicle getVariable["nitroinstalled",0];
if (_inVehicle and _vehicle isKindOf "Car" and speed _vehicle >= 1) then {
if (_inVehicle and _hasNOSinstalled == 1) then {
if (isnil("NITRO_Cond")) then {NITRO_Cond = false;};
if (s_player_nitrobooston <0) then {
if (NITRO_Cond) then {
s_player_nitrobooston = _vehicle addAction [("<t color=""#39C1F3"">" + ("Nitro Off") + "</t>"),"scripts\NOS\nitro.sqf", [_vehicle], 999, false,true,"","driver _target == _this"];
} else {
s_player_nitrobooston = _vehicle addAction [("<t color=""#39C1F3"">" + ("Nitro On") + "</t>"),"scripts\NOS\nitro.sqf", [_vehicle], 999, false,true,"","driver _target == _this"];
};
};
} else {
_vehicle removeAction s_player_nitrobooston;
s_player_nitrobooston = -1;
};
} else {
_vehicle removeAction s_player_nitrobooston;
s_player_nitrobooston = -1;
if (_hasNOSinstalled == 1) then {
_vehicle setVariable ["nitroinstalled", 1, true];
};
};
s_player_nitroInstall = player addAction [("<t color=""#39C1F3"">" + ("Install NOS boost") +"</t>"), "scripts\nitro\nitroinstall.sqf",_cursorTarget, 999, true, false, "",""];
s_player_nitroInstall = player addAction [("<t color=""#39C1F3"">" + ("Install NOS boost") +"</t>"), "scripts\NOS\nitroinstall.sqf",_cursorTarget, 999, true, false, "",""];
Error's in the script :
This :
Code://Nitro action _hasNOSinstalled = _vehicle getVariable["nitroinstalled",0]; if (_inVehicle and _vehicle isKindOf "Car" and speed _vehicle >= 1) then { if (_inVehicle and _hasNOSinstalled == 1) then { if (isnil("NITRO_Cond")) then {NITRO_Cond = false;}; if (s_player_nitrobooston <0) then { if (NITRO_Cond) then { s_player_nitrobooston = _vehicle addAction [("<t color=""#39C1F3"">" + ("Nitro Off") + "</t>"),"scripts\nitro\nitro.sqf", [_vehicle], 999, false,true,"","driver _target == _this"]; } else { s_player_nitrobooston = _vehicle addAction [("<t color=""#39C1F3"">" + ("Nitro On") + "</t>"),"scripts\nitro\nitro.sqf", [_vehicle], 999, false,true,"","driver _target == _this"]; }; }; } else { _vehicle removeAction s_player_nitrobooston; s_player_nitrobooston = -1; }; } else { _vehicle removeAction s_player_nitrobooston; s_player_nitrobooston = -1; if (_hasNOSinstalled == 1) then { _vehicle setVariable ["nitroinstalled", 1, true]; }; };
Should Be :
Code://Nitro action _hasNOSinstalled = _vehicle getVariable["nitroinstalled",0]; if (_inVehicle and _vehicle isKindOf "Car" and speed _vehicle >= 1) then { if (_inVehicle and _hasNOSinstalled == 1) then { if (isnil("NITRO_Cond")) then {NITRO_Cond = false;}; if (s_player_nitrobooston <0) then { if (NITRO_Cond) then { s_player_nitrobooston = _vehicle addAction [("<t color=""#39C1F3"">" + ("Nitro Off") + "</t>"),"scripts\NOS\nitro.sqf", [_vehicle], 999, false,true,"","driver _target == _this"]; } else { s_player_nitrobooston = _vehicle addAction [("<t color=""#39C1F3"">" + ("Nitro On") + "</t>"),"scripts\NOS\nitro.sqf", [_vehicle], 999, false,true,"","driver _target == _this"]; }; }; } else { _vehicle removeAction s_player_nitrobooston; s_player_nitrobooston = -1; }; } else { _vehicle removeAction s_player_nitrobooston; s_player_nitrobooston = -1; if (_hasNOSinstalled == 1) then { _vehicle setVariable ["nitroinstalled", 1, true]; }; };
This :
Code:s_player_nitroInstall = player addAction [("<t color=""#39C1F3"">" + ("Install NOS boost") +"</t>"), "scripts\nitro\nitroinstall.sqf",_cursorTarget, 999, true, false, "",""];
Should Be
Code:s_player_nitroInstall = player addAction [("<t color=""#39C1F3"">" + ("Install NOS boost") +"</t>"), "scripts\NOS\nitroinstall.sqf",_cursorTarget, 999, true, false, "",""];
Well I haven't looked at the update but it should work, only one way to find out.You know if it works on 1.8.1?
AGAIN IN MY THREAD!!!LOVE YOU @roachyuk
So now you are taunting me after robbing me ....sure the admins will like that on here you using there site to advertise and rip people off......i am now going to write and post the conversation between us on all dayz forums plus how exactly this forum allows people like you to rip people off and get at me for telling everyone what you done...
Here what happened between me and you was just between me and you I understand that no matter what I say or do you will not stop spamming everyone's thread so can an admin please ban him.LOVE YOU @roachyuk
So now you are taunting me after robbing me ....sure the admins will like that on here you using there site to advertise and rip people off......i am now going to write and post the conversation between us on all dayz forums plus how exactly this forum allows people like you to rip people off and get at me for telling everyone what you done...