Hello everyone!
I did a script to verify if there are players that aren't premium in specific positions in globalevents (just online players), but generates an error in the distro :
Error during a check if have players on the positions in globalevents TFS 1.2 / 1.3
I did a script to verify if there are players that aren't premium in specific positions in globalevents (just online players), but generates an error in the distro :
Lua Script Error: [GlobalEvent Interface]
data/globalevents/scripts/Teste.lua:onThink
data/globalevents/scripts/Teste.lua:16: attempt to index a nil value
stack traceback:
[C]: in function '__index'
data/globalevents/scripts/Teste.lua:16: in function...
Error during a check if have players on the positions in globalevents TFS 1.2 / 1.3