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 love this bank mod.
However, I noticed that the "from" value was always "Bank" and never the real player.
I believe I found the fix for this and am listing the code below.
I hope this helps.
if selectFrom != 0 then
-- added next line to get proper "from" name
nameFrom = players[selectFrom].name
-- deleted next line since it always had "from Bank"
-- nmeFrom = paramValues[selectFrom].name
local oldValue = players[selectFrom].value
local totalValue = oldValue - newValue
players[selectFrom].value = totalValue
paramValues[selectFrom].label = tostring(totalValue)
self.editButton(paramValues[selectFrom])
end
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1900392941
Anyway, thank you very much for this and all your other brilliant mods :)
I've never been a fan of coding, but using Lua for TTS and seeing it come to life has definitely got me into it!