Jump to content

Documentation?

Not a Bug 1.1.3

0utlaw

Posted

Took me a minute to figure out how to even test what I made. Excellent work. I still have a long way to go and was wondering if there was any documentation for cui?

If you have the time could you please provide 3 simple snippets of code.

When a button is pressed it announces to global chat whatever was wrote into the input field.

 

When a button is pressed the user's health goes back to full. 

 

And when a button is pressed another button is disabled. And the panel is closed.

Random question Is there any way to asynchronouslly update information on a panel or does it have to be re created? Meaning destroyed re called? To refresh it?

Thanks man loving your products!!!

Billy Joe

Posted

Thanks for purchasing the product, I don't have any examples in terms of the coding part but it just would be a normal command and in the button class you set the command on click. As for async updates, you would have to just destroy the ui and recreate it. This is why it is smart to separate your uis under different parents so your not destroying every element instead just destroying what needs updating.

  • Like 1
Billy Joe

Posted

Changed Status from Pending to Not a Bug

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.5k

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.