Jump to content

Very simple question


flashman

Recommended Posts

Posted
    cancelEvent () 
    outputChatBox(text) 
end 
  
addEventHandler("onPlayerChat", getRootElement(), PlayerText) 

Why doesen't the event get cancelled? My original message still gets sent.

Posted

One more question:

outputChatBox("#8F8F8F [ #FFFFFF Admin #8F8F8F ]"..getPlayerName(source)..":"..text) 

But the text isn't colorful!

The hex codes dont change to colors!

Posted
One more question:
outputChatBox("#8F8F8F [ #FFFFFF Admin #8F8F8F ]"..getPlayerName(source)..":"..text) 

But the text isn't colorful!

The hex codes dont change to colors!

outputChatBox("#8F8F8F [ #FFFFFF Admin #8F8F8F ]"..getPlayerName(source)..":"..text,element,r,g,b,true) 

Wiki :

outputChatBox

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