Jump to content

[help] boolean value


vGrosho

Recommended Posts

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

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...