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
Oh! Whoops. Yeah, restarting and trying the commands again works. Thanks for the help. xD
You should have just used "globals.EnablePlayerHealthBars(2)", but when you first entered "globals.EnablePlayerHealthBars=2", you have overwritten the function in that variable and thus it couldn't be called anymore.
Start the game again and use "globals.EnablePlayerHealthBars(2)" again, it will work.
The first reports no issue but doesn't work, and the second prints a Lua error. I'm not sure why this happens, and any help would be greatly appreciated. Kind regards. :)
globals.EnablePlayerHealthBars(2)
as a function call, not as an assignment.