Nade Messages
2 Attachment(s)
Nade Messages v0.3
by v3x Description: Says a random colored HUD message on the screen after a player is killed by a grenade. --- Cvars: nade_message "message here" (be sure to use quotes!) - Default message is "TOUCHDOWN!!" nade_sound <1|0> - Plays a sound when naded (default: 1) --- Q: Where in the heck did I get this idea from?? A: Well, at a few servers I play on, the admins put a HUD message up on the screen saying "TOUCHDOWN!!" or something. So I thought it'd be more convienent to automatically display it. --- Updates: v0.3: - Fixed broken cvar & updated some minor stuff v0.2: - Added sound --- HUD message info: - You can adjust the positioning and what not in the set_hud() function. Use this plugin to help you with positioning it. |
:D
|
Updated.
|
Updated again..
- Fixed broken cvar - Fixed/added HUD random color vars - Some other minor coding changes It should work perfectly now! :twisted: |
not working
tried it several times |
What version of AMXX are you using and how did you compile it?
|
ok i got it working but wen someone kills ih nade does everyone here sound? and 1 more thing how do i make the messae go in middle of scrreen and make it red?
|
1) Yes
2) Change this: Code:
Code:
|
will this do it...
new iRed = random_num(1,255) new iGreen = random_num(0) new iBlue = random_num(0) set_hudmessage(iRed,iGreen,iBlue,-0.1,-0.1,0,3.0,6.0,0.1,0.2,4) |
I would use my way.. If you used your way you wouldn't be able to see the message sometimes if the number was too low.
|
All times are GMT -4. The time now is 03:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.