• 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!

Solved [TFS 1.0] getPlayersOnline

Sentinel3

New Member
Joined
Oct 16, 2014
Messages
180
Reaction score
0
Hi guys I had a error with trying to set talksings from this thread: http://otland.net/threads/9-1-talking-signs.174622/

Using: TFS 1.0

If someone can tell me what's the problem with that please.., maybe I need a function in /data/global.lua?

HTML:
Lua Script Error: [GlobalEvent Interface]
data/globalevents/scripts/animated/talking.lua:onThink
data/globalevents/scripts/animated/talking.lua:11: attempt to call global 'getPlayersOnline' (a nil value)
stack traceback:
        [C]: in function 'getPlayersOnline'
        data/globalevents/scripts/animated/talking.lua:11: in function <data/globalevents/scripts/animated/talking.lua:10>
[Error - GlobalEvents::think] Failed to execute event: talkingSigns
 
Back
Top