AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Making a note in a menu (https://forums.alliedmods.net/showthread.php?t=210239)

Unkolix 03-08-2013 08:18

Making a note in a menu
 
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!


Kard1nal 03-08-2013 08:22

Re: Making a note in a menu
 
Use this:
Code:
menu_addtext(menu, const text[], slot=1)

Unkolix 03-08-2013 08:42

Re: Making a note in a menu
 
Quote:

Originally Posted by Kard1nal (Post 1908820)
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

EpicMonkey 03-08-2013 09:15

Re: Making a note in a menu
 
Quote:

Originally Posted by Unkolix (Post 1908840)
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

Unkolix 03-08-2013 09:24

Re: Making a note in a menu
 
Quote:

Originally Posted by EpicMonkey (Post 1908865)
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.

EpicMonkey 03-08-2013 12:02

Re: Making a note in a menu
 
Quote:

I removed the slot=1.
:3:3:3


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

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