Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
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://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/2738969410/3883851663705236598/?tscn=1712340937