Fortera Global
Intermediate OT User
- Joined
- Nov 20, 2015
- Messages
- 1,180
- Solutions
- 2
- Reaction score
- 117
Help me to repair this script?
To sent msg to all spectators...
tfs 1.2
To sent msg to all spectators...
tfs 1.2
Lua:
local spec = getSpectators({x = 31809, y = 33077, z = 9}, 12, 12)
if spec ~= nil then
for _, s in pairs(spec) do
if isPlayer(s) then
spec(s):sendChannelMessage("", string.format(STATUSDEFAULT.messages.channel_slower.msg, creature:getName()), STATUSDEFAULT.messages.channel_slower.type, STATUSDEFAULT.channelID)
end
end
end