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

Solved Snowball Event teleport error

Raschu

New Member
Joined
Aug 2, 2011
Messages
69
Reaction score
1
Hi all
I just try to setup new event on my server, but I have this error in my console, just before event should start:

(Unknown scriptfile)
data/globalevents/scripts/SnowBall_Event.lua:14: bad argument #2 to 'random' (interval is empty)
stack traceback:
[C]: in ?
[C]: in function 'random'
data/globalevents/scripts/SnowBall_Event.lua:14: in function <data/globalevents/scripts/SnowBall_Event.lua:1>

Its a line 14 from /globalevents/scripts/SnowBall_Event.lua
Lua:
player:teleportTo(CACHE_GAMEAREAPOSITIONS[math.random(1, #CACHE_GAMEAREAPOSITIONS)])

I have all scripts from : GlobalEvent - Snowball War Event (TFS 1.X)

Many thanks for any help

Sloved - Thanks
 
Last edited:
Back
Top