Sandbird
-
Posts
1045 -
Joined
-
Last visited
-
Days Won
16
Sandbird's Achievements
Newbie (1/14)
260
Reputation
Single Status Update
-
Sandbird did anyone ever find a fix for infistar not allowing non admins to use your nos? I tried the only fix posted to no avail. Also awaiting reply from infistar. Thanks bud.
-
Sorry for the late reply, i've stopped playing Dayz and only today i thought about checking how things are with epoch.
I saw today that someone else released a Nitro script...Are you using his or mine ? If you are using mine, then you need to do the following.
First make sure in your client files you got variable nitroinstalled to the vehicle when the user adds nitro to it. If i am not mistaken, it is already doing so.We'll use this variable inside the AH.sqf to check if the player is inside a car that has that variable...If he is, then ignore the Antihack speed limit.
So open your AH.sqf
Search for _veh != player you should have that value 2 times. We want to edit the part where under this value it has some(findDisplay 46) displayRemoveAllEventHandlers 'MouseMoving';
type of lines....Basically anything about MouseHolding, MouseMoving, Keydown, etc.
Now, above that line there should be a _veh = vehicle player; variable. Right under that put this code:
_isNitroAttached = false; _isNitroInstalled = _veh getVariable['nitroinstalled',0]; if (_isNitroInstalled == 1) then { _isNitroAttached = true; };
and finally under that where it says: if((_veh != player)&&{(!(_veh isKindOf 'ParachuteBase')&&!(_veh isKindOf 'BIS_Steerable_Parachute'))})then you need to edit that line and add our _isNitroAttached to it as well....so it should be:
if((_veh != player)&&{(!(_veh isKindOf 'ParachuteBase')&&!(_veh isKindOf 'BIS_Steerable_Parachute')&& !(_isNitroAttached) )})then
So basically what we do here is:
- Check if the car has variable nitroinstalled to it. (set by the client files, when the use added nitro)
- Do the speed nerfing thing EXCEPT if the vehicle is a kind of ParachuteBase AND doenst have variable nitorinstalled to it.So it will totally ignore the speed of the vehicle when it has nitro installed.
You'll have to do this edit every time there in an AH update.
Hope that helps.
-