Jump to content

Help with buttons not clickable after changing location

Closed 1.0.8 1.0.9

BLAZ15
BLAZ15

Posted

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

Pwenill

Posted

Hello, so already I do not see why you change the source code, without changing it there would be no bug

BLAZ15

Posted (edited)

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
BLAZ15

Posted

@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
Pwenill

Posted

Changed Status from Pending to Work in Progress

  • Like 1
Pwenill

Posted

Changed Status from Work in Progress to Closed

Changed Fixed In to 1.0.9

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.