Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
function getCreatureName(cid) local c = Creature(cid) return c ~= nil and c:getName() or false end
function doPlayerSendTextMessage(cid, type, text, ...) local p = Player(cid) return p ~= nil and p:sendTextMessage(type, text, ...) or false end
If people use the latest compat.lua then the TFS 0.2 functions also work on TFS 1.0.
But if people use the latest TFS 1.0, but not the latest compat.lua, they get errors like that, since there are Lua functions moved from the source to compat.lua.
The error occurs, becuase on the ORTS project we are in proccess of getting rid of compat.lua and use pure metatables. So, i recommend to convert the script.