ZeyadGTX Posted October 23, 2014 Share Posted October 23, 2014 Does some one have a script For Making the first word in Chat Capital like Spider: Hello even if i written Spider:hello it becomes Spider:Hello Link to comment
ixjf Posted October 23, 2014 Share Posted October 23, 2014 addEventHandler ( "onPlayerChat", root, function ( message, messageType ) if messageType == 2 then cancelEvent () outputChatBox ( getPlayerName ( source ) .. ": " .. message:gsub ( "^%l", string.upper ), root, 255, 255, 255, true ) end end ) This only works for normal messages, though. 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