Jump to content

Freeroam + Cannonballs usersystem


mikeee324

Recommended Posts

I ain't sure if this has been answered and i just need to know.

I recently got cannonballs usersystem working on my server, but its causing me to have everyone's text twice. yes i know the fix which is to remove the freeroam resource, but I'd like to keep it or at least somebody show me an alternative. I've been searching everywhere and I'd really appreciate anybodies help.

Link to comment

Edit fr_server.lua and remove this code:

  
addEventHandler('onPlayerChat', g_Root, 
    function(msg, type) 
        if type == 0 then 
            cancelEvent() 
            local r, g, b = getPlayerNametagColor(source) 
            outputChatBox(getPlayerName(source) .. ': #FFFFFF' .. msg:gsub('#%x%x%x%x%x%x', ''), g_Root, r, g, b, true) 
        end 
    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...