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
Is this supposed to go before or after what currently exists on line 33?
"for i=0, t_SeatCount do"
I placed it before that specific line in my 'Server_AHotWireNerfMod.lua', so that codeblock should occupy lines 33-35 and not much else. It shouldn't matter too much since anything after it just does similar checks and also ends the function if they match the conditions.
I will say I'm still testing whether or not to look for a t_SeatCount value of 1 or 0. I think 1 should be fine but I worry the "local t_SeatCount = f_Vehicle:getMaxPassengers() -1" might be throwing it off potentially, hard to say. Maybe a correction to the function could be to check if it's less than or equal to 1, though I worry it might cover too many vehicles. Been a while since I played so I'll need to check when I'm next in and I'll update the post if there's any findings.
Update: I think a better solution can be found here in this thread:
https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/2738969410/3883851663705236598/?tscn=1712340937