yoya99 Posted October 12, 2014 Share Posted October 12, 2014 Hey my question i want to make the (Team) : say tag into (Group): say tag but what do i have to do in which folder direction i have to look??? I use freeroam and play.....thx Link to comment
xXMADEXx Posted October 12, 2014 Share Posted October 12, 2014 You can use the event onPlayerChat, and inside that event you need to use cancelEvent. The code would be something like this: addEventHandler ( "onPlayerChat", root, function ( msg, type ) if ( type == 2 ) then cancelEvent ( ); else return false; end local name = getPlayerName ( source ):gsub ( "#%x%x%x%x%x%x", "" ); outputChatBox ( "(Group) "..name..": "..msg, root, 255, 255, 255 ); end ) 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