Raised This Month: $ Target: $400
 0% 

Making a note in a menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Unkolix
Veteran Member
Join Date: Sep 2012
Old 03-08-2013 , 08:18   Making a note in a menu
Reply With Quote #1

How to make a note in menu?
I don't know how to call this, but it should be something like:
Code:
You want to hear something?
1. Yes!
2. No!
NOTE: You need to enable sound!

Last edited by Unkolix; 03-08-2013 at 08:18.
Unkolix is offline
Kard1nal
Senior Member
Join Date: Dec 2012
Location: Russia
Old 03-08-2013 , 08:22   Re: Making a note in a menu
Reply With Quote #2

Use this:
Code:
menu_addtext(menu, const text[], slot=1)
__________________
Sorry for my English, I'm Russian.
Kard1nal is offline
Send a message via Skype™ to Kard1nal
Old 03-08-2013, 08:22
EpicMonkey
This message has been deleted by EpicMonkey. Reason: already answered
Unkolix
Veteran Member
Join Date: Sep 2012
Old 03-08-2013 , 08:42   Re: Making a note in a menu
Reply With Quote #3

Quote:
Originally Posted by Kard1nal View Post
Use this:
Code:
menu_addtext(menu, const text[], slot=1)
Ok, thanks, but it seems to have a problem? https://forums.alliedmods.net/showthread.php?t=176510
Unkolix is offline
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 03-08-2013 , 09:15   Re: Making a note in a menu
Reply With Quote #4

Quote:
Originally Posted by Unkolix View Post
Ok, thanks, but it seems to have a problem? https://forums.alliedmods.net/showthread.php?t=176510
i guess thats because he is using 0 as his addtext slot, in your case it should be 3
EpicMonkey is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 03-08-2013 , 09:24   Re: Making a note in a menu
Reply With Quote #5

Quote:
Originally Posted by EpicMonkey View Post
i guess thats because he is using 0 as his addtext slot, in your case it should be 3
Still, my Exit button becomes 8...

EDIT: Found a way to fix that. I removed the slot=1.

Last edited by Unkolix; 03-08-2013 at 10:05.
Unkolix is offline
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 03-08-2013 , 12:02   Re: Making a note in a menu
Reply With Quote #6

Quote:
I removed the slot=1.
EpicMonkey 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:47.


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