Marcelo.S Posted June 16, 2018 Share Posted June 16, 2018 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
Other Languages Moderators Lord Henry Posted June 16, 2018 Other Languages Moderators Share Posted June 16, 2018 Troque a linha inteira do outputServerLog por isso: outputServerLog (getPlayerName(player)..": Limpou o chat!") 1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now