Jump to content

How can i remove all info for Eco

Closed 1.0.8 1.0.9

Lemo
Lemo

Posted

How can i remove the ECO buttons in the menu ?
i like to run fully on RP and dont need the ECO visual in the Garage UI.
greets Lemo

 

Krungh Crow

Posted

cant be disabled with current coding it does notify it is disabled i could add this to the plugin if u really want to dissable it you can go into the cs file and edit the UI buttons
 

            //elements.Add(new CuiButton { Button = { Command = "EcoGiveChas2", Color = $"{configData.BtnClr}" }, RectTransform = { AnchorMin = "0.075 0.500", AnchorMax = "0.175 0.575" }, Text = { Text = $"Small Chassis \nOccasion for {configData.CostChas2Eco} Eco", Color = $"{configData.BtnTextClr}", FontSize = 11, Align = TextAnchor.MiddleCenter } }, mainName);

add // so the plugin ignores the buttons using the eco commands.

I will add this for the next update

Krungh Crow

Posted

Changed Status from Pending to Work in Progress

Lemo

Posted

7 minutes ago, Krungh Crow said:

cant be disabled with current coding it does notify it is disabled i could add this to the plugin if u really want to dissable it you can go into the cs file and edit the UI buttons
 


            //elements.Add(new CuiButton { Button = { Command = "EcoGiveChas2", Color = $"{configData.BtnClr}" }, RectTransform = { AnchorMin = "0.075 0.500", AnchorMax = "0.175 0.575" }, Text = { Text = $"Small Chassis \nOccasion for {configData.CostChas2Eco} Eco", Color = $"{configData.BtnTextClr}", FontSize = 11, Align = TextAnchor.MiddleCenter } }, mainName);

add // so the plugin ignores the buttons using the eco commands.

I will add this for the next update

Thanks i will try it now.
and wait for the function after the update.
I really like how you made it.
 

Krungh Crow

Posted

yes i try make it so that it can be changed visualy for server owners colors backgrounds and images.
Tthis is my first big plugin so for me it is also a learning progress

Lemo

Posted

it works amazing my friend.
thanks spacer.png

  • Like 1
Krungh Crow

Posted

Looking good 🙂
Might want to make the leave button color completely transparent x.x.x.0 as in alpha)

Krungh Crow

Posted

Changed Status from Work in Progress to Closed

1.4m

Downloads

Total number of downloads.

7k

Customers

Total customers served.

104.9k

Files Sold

Total number of files sold.

2.1m

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.