Jump to content

explain !


Best-Killer

Recommended Posts

Posted

already i checked it 

Look at this ss : 2RWatsr.jpg

what i have to do ?? i know how to get text from the editbox ...... ect and but how to make dxtext moving up 

i hope that you understand me 

Posted

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
Posted

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.

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