Jump to content

DirectX Anim


drk

Recommended Posts

Posted

I'm trying to make an anim to a dx but I can't because mta dx functions don't "use variables".

I tried to use race dx library but it don't work.

It is anyway to do this or use a custom font on a simple gui label?

EPT Team Server Development: 0%

Learning C++ | C++ is amazing xD

Posted

JR10: I think he meant's that DX drawing functions doesn't return elements, like this:

myText = dxDrawText() 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Well, you can always re-make the DX functions and make them return elements like GUI.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

You can create your own GUI fonts with this function:

guiCreateFont ([url=https://wiki.multitheftauto.com/wiki/GuiCreateFont]https://wiki.multitheftauto.com/wiki/GuiCreateFont[/url]) 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Oh Thanks, I forget this function. I remember only dxCreateFont LOL

EPT Team Server Development: 0%

Learning C++ | C++ is amazing xD

Posted

You're welcome.

P.S: To make a DX animation you can create a GUI with alpha 0 and animate it with Client animation library by arc_

Then use the position, size for your DX.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
gui elem with 0alpha will still be limited with gui functions if using default, have problems triggering changes when something is changed, so better just use custom classes, they're easy to make.

I think it will not be easy for me xD I'm using GUI Labels / Image functions, the best for noobs :lol:

EPT Team Server Development: 0%

Learning C++ | C++ is amazing xD

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