Jump to content

Help with buttons not clickable after changing location

Closed 1.0.8 1.0.9

BLAZ15

Hey,
I changed the UI buttons locations and they are now not clickable. I searched in the plugin also the locations of the panel that makes the action for the buttons but didn't find it. 

You can help me fix the issue so that the buttons are clickable again?

This is the new buttons locations:

 GuiHelper.CreateButton(ref elements, content, lang.GetMessage("Filling", this, player.UserIDString).ToUpper(), $"fuel.fill {amount}", "0.02 0.03", "0.47 0.13", color: GuiHelper.HexToRGBA("#057619ff", 0.9f));

GuiHelper.CreateButton(ref elements, content, lang.GetMessage("RefuelButton", this, player.UserIDString).ToUpper(), "fuel.refuel", "0.5 0.03", "0.95 0.13", color: GuiHelper.HexToRGBA("#273e9aff", 0.9f));

Thank you

Share this comment


Link to comment

I just changed the locations, and some translations and colors, there are a lot of things that are not in the config and I had to edit the source file to change it. 
if there was an option to change locations in the config for everything in the UI it would be helpful.

Edited by BLAZ15

Share this comment


Link to comment

@PwenillOk so I figured out why it's not clickable, it's something that I missed, actually not a bug at all.
The error message panel was on the new button's locations, so it did not let the buttons be clickable. now it is fixed.

The main issue right now with the plugin it's that I can't change any images in the plugin, even not in config. I want to replace the image of the close button and main logo but it's not changing the image.

  • Like 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.3k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.