Small simple addon
hi uhm i have a noob question
im trying to change something in a plugin
trying to make a button that will open a menu in a different plugin and close the one its in
i think it must be something realy simple but my brain not seem to be working so ill just ask here
///////////////////
so i think i have 2 spots where i can do this
switch (btn) {
case 5:
/////////// i think here maybe /////////
break;
or in a void section that normaly gets opend when clicking that case 5 button
it needs to put in 2 console commands:
CallTopOne
OnMenuClick -1
one is to open playerranks
the other to shutdown menu
Plugins are like people, they are completely independent from each other, unless they have a way to communicate.
if the plugins do not expose an API, then they cannot easily be changed from another plugin.
furthermore... plugins run on the SERVER NOT the client and as such they do not operate from the same perspective as the user
yes, i know but i got it fixed :P
i changed buttons to open and close difrent UI and that worked
any UI of any plugin you can open from any plugin aslong as name is same