Total number of downloads.
Total customers served.
Total number of files sold.
Total payments processed.
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.
Question
myst1c
Hello, I recently started learning how to write plugins for Rust on Carbon and I had a problem.
Edited by myst1cI made a plugin that makes a button that is visible to the player when logging on to the server.
And I made sure that when you click on it, the menu opens.
I did it all right, but there was a problem in the code.
I wrote Cui and a separate hook that shows the menu opening button when loading the plugin and the command that opens the menu.
But the plugin only works if the command is linked to Cui and if you make a separate command that opens only the menu without a button
I hope I explained it clearly)
Well, if anything, a plugin that works but with the wrong code in my opinion:
1.txt
But it's not working, but it seems to me with the right code:
2.txt
.
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now