So this is the my first plugin ever. I want a menu to let clients select a config for the models they'll use for their weapons, but the problem is I need to somehow keep track of each clients selection in the menu, since I'll have another plugin making callbacks depending on what option was picked in the menu. How would I go about storing a users selection/choice in a menu so that another plugin/part of my plugin can make sure to do the correct thing for each client?
Basically, how would I do this?
Code:
public bool AlwaysExecutingCallback(int client){
If (getSelectedOptionFromMyMenu(client)) { // <--- how do I get something like this
//do blah
}
}
I hope this is a good enough explanation of what I want to do.