vGrosho Posted March 21, 2017 Share Posted March 21, 2017 i dont know nothing about scripting and i'm trying my first server, i downloaded this ID for chats and for private messages. but when i start the resource nothing happens, and i found that error ERROR: [AllMods]\chatmod\server.lua:313: attempt to concatenate a boolean value Quote if isObjectInACLGroup ("user."..acc, aclGetGroup("Console")) and getElementData(x, "AnonAdmin") == false then outputChatBox("#FFFF00* GM "..getPlayerName(source).."#FFFFFF(ID:"..IDx(source) .."): "..msg.."", getRootElement(), r, g, b, true) outputConsole("Chat: (GM) "..getPlayerName(source).."(ID:"..IDx(source) .."): "..msg.."") outputDebugString("Chat: (GM) "..getPlayerName(source).."(ID:"..IDx(source) .."): "..msg.."") return 1 end Link to comment
MIKI785 Posted March 21, 2017 Share Posted March 21, 2017 Which one is line 313? Where is source and msg defined? Also use code tag next time. 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