Raised This Month: $ Target: $400
 0% 

How to remove numbers from menu_create?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jonatat
Senior Member
Join Date: Dec 2017
Old 07-04-2018 , 07:06   How to remove numbers from menu_create?
Reply With Quote #1

I have a simple menu like that:

PHP Code:
formatex(killscheck63"Kills: %i"pKills[id]) 
menu_additemmenukillscheck"3" 
How can i remove numbers? Like:

1. Kills:
2. Deaths:

and etc.

I wanna do like:

Kills:
Beaths:

Last edited by jonatat; 07-04-2018 at 07:07.
jonatat is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 07-04-2018 , 07:12   Re: How to remove numbers from menu_create?
Reply With Quote #2

You cant, you can use old style menus.
natives:

register_menu
show_menu

You cant add items into this menu, you must use char array.
This one is a bit/byte harder.
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM

Last edited by Ghosted; 07-04-2018 at 08:51.
Ghosted is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 07-04-2018 , 08:33   Re: How to remove numbers from menu_create?
Reply With Quote #3

You can use menu_addtext. It has a bug though, so if you are using 1.8.3 you can use menu_addtext2, read the doc to find out what the bug is.
__________________
klippy is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 07-04-2018 , 08:50   Re: How to remove numbers from menu_create?
Reply With Quote #4

Quote:
Originally Posted by KliPPy View Post
You can use menu_addtext. It has a bug though, so if you are using 1.8.3 you can use menu_addtext2, read the doc to find out what the bug is.
Text is clickable?
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-04-2018 , 14:16   Re: How to remove numbers from menu_create?
Reply With Quote #5

Quote:
Originally Posted by Ghosted View Post
Text is clickable?
No. What button would even be used? The whole point of the numbers are to denote what button chooses that option.
__________________
fysiks is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 07-04-2018 , 14:21   Re: How to remove numbers from menu_create?
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
No. What button would even be used? The whole point of the numbers are to denote what button chooses that option.
I think this post wasnt for me :/
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-04-2018 , 21:03   Re: How to remove numbers from menu_create?
Reply With Quote #7

Quote:
Originally Posted by Ghosted View Post
I think this post wasnt for me :/
Yes, it was a response to your post (which is why I quoted your post).
__________________

Last edited by fysiks; 07-04-2018 at 21:04.
fysiks is offline
jonatat
Senior Member
Join Date: Dec 2017
Old 07-04-2018 , 11:38   Re: How to remove numbers from menu_create?
Reply With Quote #8

Quote:
Originally Posted by KliPPy View Post
You can use menu_addtext. It has a bug though, so if you are using 1.8.3 you can use menu_addtext2, read the doc to find out what the bug is.
So i can do something like that:

PHP Code:
menu_addtextmenukillscheck 
?
jonatat is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-04-2018 , 08:35   Re: How to remove numbers from menu_create?
Reply With Quote #9

you can make the exit button number 1 and then add the texts and then set menu prop_exit MENU EXIT NEVER.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-07-2018 , 03:34   Re: How to remove numbers from menu_create?
Reply With Quote #10

Quote:
Originally Posted by Natsheh View Post
you can make the exit button number 1 and then add the texts and then set menu prop_exit MENU EXIT NEVER.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 12:24.


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