Hello, I was looking for a castle event and found this one, when trying to run the event it returns the following error, can someone help me understand?
C++:
[2023-31-05 09:30:57.391] [error] Lua script error:
scriptInterface: [Scripts Interface]
scriptId: [/root/canary/data-otservbr-global/scripts/custom/castle_war/castle_war_talkaction.lua:c
lback]
timerEvent: []
callbackId:[]
function: []
error [data/libs/castle_war.lua:100: attempt to call global 'safeAddEvent' (a nil value)
stack traceback:
[C]: in function 'safeAddEvent'
data/libs/castle_war.lua:100: in function 'load'
...obal/scripts/custom/castle_war/castle_war_talkaction.lua:6: in function <...obal/script
custom/castle_war/castle_war_talkaction.lua:2>]