This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Script not triggering
#2
Check what kind of variable you have in 'Vremenski_hodnik_kat1_enable' storage. As you have strict checks against true / false, for example, if your variable is set to 1, it will fail both checks. In Lua (1 == true) and (1 == false) are both false.

For less strict checks, you can add toboolean conversion:
http://openrb.com/docs/lua.htm#toboolean
Reply


Messages In This Thread
Script not triggering - by zoltan - 29.02.2016, 08:52
RE: Script not triggering - by admin - 29.02.2016, 09:29
RE: Script not triggering - by zoltan - 29.02.2016, 10:38

Forum Jump: