Jump to content

tag


yoya99

Recommended Posts

Posted

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

And the snail starts to sing

Posted

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 ) 

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