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

Lua TFS 1.2 (sendChannelMessage)?

T

Tinkz

Guest
Hello, I'm using TFS 1.2, trying to add a message to the player if he is muted. I'm getting this error while saying something in the chat channel I've created.

This is an image of the error
t4v5pJi.png


This are the two parts I find "sendChannelMessage"

Lua:
   sendChannelMessage(CHANNEL_LOOT, TALKTYPE_CHANNEL_R1, target:getName() .. " has been unmuted by " .. player:getName() .. ".")
                    else

Lua:
for _, x in pairs(players) do   
        x:sendChannelMessage(""..player:getName().." ["..player:getLevel().."] ["..vocationString.."]", ""..message.."", type, 10)
    end
 
Back
Top