Jump to content

explain !


Best-Killer

Recommended Posts

The default chatbox is already based on directX, But to make a custom one you'll need to disable the default one and start building a custom one, using dxDrawText and if needed dxDrawRectangle, Also you can use the event onClientChatMessage to output on your custom chatbox any when any text is output to the default chatbox of MTA.

  • Like 1
Link to comment

Whatever, I had answered your main topic's question,

About your second question, you'll need to make some calculations using math to draw the first text in the top of the rectangle and in each message draw a new message under the first one using some logic calculations by getting the last height plus the new height ..etc

And when your box becomes containing max lines make a scroll system.

Link to comment

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