Jump to content

How can i remove all info for Eco

Closed 1.0.8 1.0.9

Lemo

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

 

Share this comment


Link to comment

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

Share this comment


Link to comment
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.
 

Share this comment


Link to comment

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

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.5k

Customers

Total customers served.

78.5k

Files Sold

Total number of files sold.

1.5m

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.