Jump to content

Making a new chat box.


pa3ck

Recommended Posts

Posted

Hi there, I want to make 2 more chat boxes, one for the right hand side and one goes to the bottom of the screen. What functions / events will I need? The hardest part is that, when a new chat line comes up, the first one should disappear... Just like in the default chat box. What would be the easiest way?

Posted

+

onClientChatMessage 
addCommandHandler 
unbindKey 
getChatboxLayout 

Please do not PM me with scripting related question nor support, use the forums instead.

Posted

Or if you don't want to use DX, you can use those functions;

textCreateDisplay 
textCreateTextItem 
textDestroyDisplay 
textDestroyTextItem 
textDisplayAddObserver 
textDisplayAddText 
textDisplayRemoveObserver 
textDisplayRemoveText 
textItemGetColor 
textItemGetPosition 
textItemGetPriority 
textItemGetScale 
textItemGetText 
textItemSetColor 
textItemSetPosition 
textItemSetPriority 
textItemSetScale 
textItemSetText 
textDisplayGetObservers 
textDisplayIsObserver 

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

Posted

You should use a table so you can delete the first line in the chat once a new one comes up .

" Keep Thinking Different . " - Steve Jops

--------------------

Don't send me PMs asking for help, I Won't reply !

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