Models Menu
I found this plugin here from OciXCrom's
I really liked the way this plugin was made I have a request if I can, I would like the menu to be separate for each skins like MALE MODELS FEMALE MODELS PHP Code:
|
Re: Models Menu
This should be fairly simple depending on how you want to set/determine the sex of the models that you want to show. You only needed to add one additional parameter to the ModelInfo enumeration instead of the two that you added:
PHP Code:
PHP Code:
I would probably just implement it with the sex check against a constant just to make sure that that part works as expected. PHP Code:
|
Re: Models Menu
Quote:
if it was a simple menu I can even make a menu easily but as the skins are within the const it is being difficult could you give me some examples i'm still learning |
Re: Models Menu
I explained in detail what you need to do to get this menu with either only male or female models. It is easier than you might think. Go ahead and try it. Update the ModelInfo definition with mine and then add the Male/Femail enum below that. Then, replace:
Code:
g_eModels[i][Team] == iTeamCode:
g_eModels[i][Sex] == FemalePlease post the new code with all your modifications completed the next time you post so that we can either help you fix it or help you move on to the next step (this is the Scripting Help section after all). For us to help you with taking the next step, you're going to need to explain in detail how you want to decide if male or female models are shown to a player. |
Re: Models Menu
PHP Code:
something else it is giving a small error Code:
Success |
Re: Models Menu
Yep, that's what was supposed to happen with this code. It was just a test to make sure that the ability to show only male or female models. If you want to show only female models that are available for your team, add back the team check.
PHP Code:
|
Re: Models Menu
PHP Code:
|
Re: Models Menu
What you did is a massive discrimination against male players, because only female skins will appear in the menu.
|
Re: Models Menu
Quote:
Quote:
Otherwise, he could have simply just used female models and not worry about editing the plugin to support both. |
Re: Models Menu
Quote:
like in the menu will show skin [TR Female/Masculine] and [CT Female/Masculine] Besides that I also need to see that when the player changes skin it removes the skin that was before |
| All times are GMT -4. The time now is 21:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.