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.

Edit script but it still run old script
#1
I use a script 1/1/2 to update script of address 1/1/1 example from log(1) to log(2) using those commands:

Code:
        db:update('scripting', {script = nScript}, {id = s.id})
        script.disable(s.name)
      script.enable(s.name)
        script.reload()

The update is successful (I see the line log(2) in 1/1/1) but when I change the value of 1/1/1, it still run old script (show 1 in log instead of 2)
How can I fix this? Thank you
Reply


Messages In This Thread
Edit script but it still run old script - by pouralise - 16.03.2025, 10:44

Forum Jump: