• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua Globalevents console error TFS 0.4

Hello. My problem is :
Zapodaj.Net - Darmowy hosting zdjęć i obrazków bez rejestracji! - 9fb5284de8af2.png

TFS 0.4

cast.lua

function onThink(interval)
for _, pid in pairs(getCastsOnline()) do
doPlayerSave(pid)
end
return true
end

Globalevents.xml
<globalevent name="updateCast" interval="25000" event="script" value="cast.lua"/>

How can I get rid of these errors?

getCastsOnline is missing.
You can either remove the script, save all the players or find the correct function.
Hard to say what function it should be, can you upload luascript.cpp?
 
Back
Top