Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I managed to get it working without making it ignore all single seat vehicles. You had the right idea with using Braven's isBike() function for this, so I wager a guess that you forgot to add require statements in hotwire nerf's .lua.
To patch the mod, add these lines at the start of "Server_AHotWireNerfMod.lua"
then, copy-paste this code I lifted from Braven's mod into each CheckCar function.
(I also put it at the beginning of the ApplyNerf function to be safe. Could be unnecessary but, no offence to nigel, I can't read his code so I just err on the side of caution)
Should look something like this https://i.imgur.com/K8ClVgg.png
Doesn't matter where you paste the stolen borrowed code inside CheckCar functions, so long as it's not inside the existing if statements. Needless to say, I didn't include every line of code I changed in the screenshot, but it should give you the idea of how to do the rest.
You're definitely right that I didn't include the require statements near the (mainly since I'm terrible at scripting), but I figured if that hurdle could be crossed it would be as easy as patching that file with Braven's functions.
I'll definitely try this out when I'm next playing, appreciate that I'm not the only who was masochistic enough to run both of these mods at the same time!