Jump to content

Anti-Caps HELP


Bean666

Recommended Posts

Simply,

  
--SERVERSIDE 
  
addEventHandler("onPlayerChat",getRootElement(),function(msg,msgtype) 
text = string.lower(msg) 
local red, green, blue = getPlayerNametagColor(source) 
outputChatBox(getPlayerName(source) ..": #EBDDB2".. text,getRootElement(),red,green,blue,true) 
cancelEvent() 
end 
) 
  

Link to comment
Simply,
  
--SERVERSIDE 
  
addEventHandler("onPlayerChat",getRootElement(),function(msg,msgtype) 
text = string.lower(msg) 
local red, green, blue = getPlayerNametagColor(source) 
outputChatBox(getPlayerName(source) ..": #EBDDB2".. text,getRootElement(),red,green,blue,true) 
cancelEvent() 
end 
) 
  

it transforms to small letters and the caps is still in the chat, the caps i typed it showed up and the small one showed up too ,when it transformed
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...