Jump to content

guiSetProperty


glowdemon1

Recommended Posts

Hi, I'm looking to turn my buttons into something more stylish, I have tried using guiSetProperty to make them rectangular and change the colour, unfortunately this didn't go as expected. Anyone kind enough to explain this or even give an example ? Also would I be able to set padding around buttons and editfields ? Like in CSS ( padding:15px 45px; )

Link to comment
  • Moderators

You have to create your own CEGUI skin you can find the 3 skins that are already in MTA here:

C:\Program Files (x86)\MTA San Andreas 1.3\skins (on my computer at least)

But if you put your new CEGUI skin in ur game directory you will be the only one who would be able to use/see it.

I remember that I read a long time ago that MTA would add functions to let the servers to use their own CEGUI skin. (btw I didn't find that function, so it probably not done yet)

If you already saw some great GUI (Graphic User Interface) on some servers, that's because they made their own GUI with the dx functions.

There should be a resource (not sure but it would be an awesome resource) that would let you load your own CEGUI skins.

Best regards,

Citizen

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