Raised This Month: $ Target: $400
 0% 

Models Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-15-2022 , 00:04   Re: Models Menu
Reply With Quote #1

Quote:
Originally Posted by yagami View Post
So what I want to do is have a menu to support both menus
So, you want a new menu that will ask you to choose between Male and Female? If so, you can create a new menu using the Basic Menu example here. You'll have only two options, Male and Female, and in the menu handler, you would call the VIP Skin menu with the a new parameter that sets which sex to show.

I would probably rename the Cmd_VipSkin function to something like show_vipskinmenu with a second argument for sex (replace the hard-coded "Female" with this new variable). Then, create a new function with that original name (Cmd_VipSkin) and use that for your new menu (the function called AwesomeMenu in the aforementioned tutorial). Then you'd call show_vipskinmenu(id, sex) in the menu handler depending on which selection that made in your new menu.
__________________
fysiks is offline
yagami
Senior Member
Join Date: Jan 2021
Old 04-17-2022 , 09:51   Re: Models Menu
Reply With Quote #2

Quote:
Originally Posted by fysiks View Post
So, you want a new menu that will ask you to choose between Male and Female? If so, you can create a new menu using the Basic Menu example here. You'll have only two options, Male and Female, and in the menu handler, you would call the VIP Skin menu with the a new parameter that sets which sex to show.

I would probably rename the Cmd_VipSkin function to something like show_vipskinmenu with a second argument for sex (replace the hard-coded "Female" with this new variable). Then, create a new function with that original name (Cmd_VipSkin) and use that for your new menu (the function called AwesomeMenu in the aforementioned tutorial). Then you'd call show_vipskinmenu(id, sex) in the menu handler depending on which selection that made in your new menu.

Speaking like that, it sounds easy
yagami is offline
yagami
Senior Member
Join Date: Jan 2021
Old 04-14-2022 , 07:44   Re: Models Menu
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
What you did is a massive discrimination against male players, because only female skins will appear in the menu.
I want to show the male and female menu but he is teaching me a little bit

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
yagami is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode