Jump to content

attempt to concatenate global 'text' (a nil value)


Recommended Posts

ERROR: [gameplay]\Limpar-Chat\server.lua:75: attempt to concatenate global 'text' (a nil value)

function clearChat(player)
    local accountname = getAccountName(getPlayerAccount(player))
    if ( hasObjectPermissionTo ( player, "command.shutdown", true ) ) then
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox(" ")
    outputChatBox( getPlayerName(player) .. ":→ #FFFFFF✘ #4F4F4F「  #FFC125Lɪᴍᴘᴏᴜ ᴏ Cʜᴀᴛ﹗#4F4F4F」 #FFFFFF✘", root, 0, 255, 255, true)
    outputServerLog( getPlayerName(player) .. ":→ #FFFFFF✘ #4F4F4F「  #FFC125Lɪᴍᴘᴏᴜ ᴏ Cʜᴀᴛ﹗#4F4F4F」 #FFFFFF✘" .. text)
    end
end
addCommandHandler("chat", clearChat)

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...