Raised This Month: $51 Target: $400
 12% 

HUD message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wheresmyspacebar
New Member
Join Date: Oct 2005
Old 10-26-2005 , 00:12   HUD message
Reply With Quote #1

is there any way to display a HUD messages for myself?

for example, when i press "q" or any other key, it will dislpay a HUD message in the center of the screen, are there any amxx commands that can do this kind of things?
wheresmyspacebar is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 10-26-2005 , 06:53  
Reply With Quote #2

do you want it to say something to everyone? you could make a bind using amx_csay
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
wheresmyspacebar
New Member
Join Date: Oct 2005
Old 10-26-2005 , 07:10  
Reply With Quote #3

no, it's not for everybody, just a message for myself.
i already made a simple script to bind +power#
it's like if 1 scroll up, the it will display a message "power1 choosen"
scroll down, will display "power2 choosen" etc

so the message is not for everyone, only for myself
wheresmyspacebar is offline
The_One
Senior Member
Join Date: Jul 2005
Old 10-26-2005 , 09:09  
Reply With Quote #4

lol? hello "wheresmyspacebar how are you"
spacebar: good you
spacebar:yeah im fine

lol
__________________
[img]http://img106.**************/img106/970/spidermancopy5yf.gif[/img]
The_One is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 10-26-2005 , 17:43  
Reply With Quote #5

what purpose would there be to displaying a hud message to yourself?
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
wheresmyspacebar
New Member
Join Date: Oct 2005
Old 10-26-2005 , 23:18  
Reply With Quote #6

... my english is not that good, so maybe you guys a little confused with mhy previous post

i made a simple script, first i binds +power1 to mouse3
then if i scroll up, it binds +power2 to mouse3,
if i scroll up again, it binds +power3 to mouse3,
scroll up, i binds +power1 again to mouse3

and so on.. but the problem is.. i dunno what power is binded to mouse3 at the moment, so i need a hud message to myself, saying : power1 binded, power2 binded and so on
wheresmyspacebar is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 10-27-2005 , 06:46  
Reply With Quote #7

damn thats a good idea, especially for servers with a lot of heroes. Only thing I can think of that could be done with amxx without making a new plugin would be to amx_psay to yourself.

On another note, i was just devising in my head a plugin I could make to do all this for you, you would bind the scroll or any other key really to something like

Code:
powerselect 3 MOUSE3
3 would be the number of bind powers you have and MOUSE3 the button to bind to, it would send you messages tell you what its doing each time.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
wheresmyspacebar
New Member
Join Date: Oct 2005
Old 10-27-2005 , 20:44  
Reply With Quote #8

thx alot jtp, that plugin will be cool
if i'm not mistaken, amx_psay send message only to one player, so i send it to myself, right? is there any way to get what is my nickname right now? so when i change my nickname i don't need to change the script

maybe like amx_psay $mynick "message"
wheresmyspacebar is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 10-27-2005 , 22:05  
Reply With Quote #9

i think you would have to hardcode your name, unless you use your steamid. Using the steamid should work in place of the name, try it out.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 10-28-2005 , 15:06  
Reply With Quote #10

Here it is


ONTOPIC: If you are thinking coding wise you need set_hudmessage & show_hudmessage
cs-Scripting wise it was ECHO in 1.5. Havn't done much since then
__________________
My Plugins

Got ??
AssKicR 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 23:57.


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