Post: [1.12] Buttons in "Say"
03-27-2011, 12:22 PM #1
wowaka
Former Staff
(adsbygoogle = window.adsbygoogle || []).push({}); I know this is possible, because I have seen two people online use [{+actionslots}] in their message, but for some reason the button does not show up for me, this is my code:
say ^5Press [{+actionslot 1}] For ^2Menu.

Yet when I say this message in Modern Warfare 2, it reads:
Press [{+actionslot 1}] For Menu.

Do I need to put brackets, or quote's or something around it?
(adsbygoogle = window.adsbygoogle || []).push({});
03-27-2011, 12:25 PM #2
anddrew
League Champion
Originally posted by julianportman View Post
I know this is possible, because I have seen two people online use [{+actionslots}] in their message, but for some reason the button does not show up for me, this is my code:
say ^5Press [{+actionslot 1}] For ^2Menu.

Yet when I say this message in Modern Warfare 2, it reads:
Press [{+actionslot 1}] For Menu.

Do I need to put brackets, or quote's or something around it?


found this in zombieland
self.option1 setText("Press [{+actionslot 3}] - " + level.humanM[self.menu][0]);

that what you want bro?

The following user thanked anddrew for this useful post:

wowaka
03-27-2011, 12:27 PM #3
wowaka
Former Staff
Originally posted by anddrew View Post
found this in zombieland
self.option1 setText("Press [{+actionslot 3}] - " + level.humanM[self.menu][0]);

that what you want bro?


That should work, gonna try now.
03-27-2011, 12:28 PM #4
anddrew
League Champion
Originally posted by julianportman View Post
That should work, gonna try now.


also ---------------------------

self thread maps\mp\gametypes\_hud_message::hintMessage("^2Press [{+actionslot 1}] to toggle UFO mode!");

Your code looks right :/

have you binded dpad one to something? that would stop it being +actionslot 1 maybe
03-27-2011, 12:34 PM #5
Choco
Respect my authoritah!!
If your menu is named vstr menu, try changing it to:
    say ^5Press [{vstr menu}] to open menu


Probably won't work, but hey it's an idea.
03-27-2011, 12:35 PM #6
anddrew
League Champion
Originally posted by chocomonkey321 View Post
If your menu is named vstr menu, try changing it to:
    say ^5Press [{vstr menu}] to open menu


Probably won't work, but hey it's an idea.


but menu won't have a little picture Winky Winky
03-27-2011, 12:41 PM #7
wowaka
Former Staff
Originally posted by anddrew View Post
but menu won't have a little picture Winky Winky


Nothing worked.:mad:
03-27-2011, 12:42 PM #8
anddrew
League Champion
Originally posted by julianportman View Post
Nothing worked.:mad:


gutted :O I'm gunna try them on cod4
03-27-2011, 01:16 PM #9
wowaka
Former Staff
Originally posted by chocomonkey321 View Post
If your menu is named vstr menu, try changing it to:
    say ^5Press [{vstr menu}] to open menu


Probably won't work, but hey it's an idea.


Nope, don't work:wtf:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo