Raised This Month: $32 Target: $400
 8% 

Help / Support Removing client print and HUD messages.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SGT
Senior Member
Join Date: Sep 2011
Old 10-16-2011 , 17:48   Removing client print and HUD messages.
Reply With Quote #1

1- How can I remove the zombie HUD where it says "HP/Class/Ammo Pack". It's on the lower left corner of the screen. [I'm using v5 stable]

2- At the start of every round, a message says
"
[ZP] ==== Zombie Plague 5.0.5 ====
[ZP] Press M to show the game me
"
How do I remove that?

3- Is it possible to remove the radar?

4- When pressing G, a "weapon can't be dropped" message pops up. Is there any way to remove it? while still at the same time keeping G as the drop weapon key?


Just point me in the right direction and I'll do the rest. I'm not sure which sma's I need to edit/plugins to use for each.

Last edited by SGT; 10-16-2011 at 18:01.
SGT is offline
MeRcyLeZZ
Veteran Member
Join Date: Dec 2007
Old 10-17-2011 , 00:57   Re: Removing client print and HUD messages.
Reply With Quote #2

1- Disable zp50_hud_info.amxx in plugins .ini

2- Go to zp50_main_menu.sma and edit:
Code:
// Welcome Message Task public task_welcome_msg() {     zp_colored_print(0, "==== ^x04Zombie Plague %s^x01 ====", ZP_VERSION_STR_LONG)     zp_colored_print(0, "%L", LANG_PLAYER, "NOTICE_INFO1") }

3- I think you can use client-side command "hideradar", but they would be able to turn it back on (maybe also do the alias trick to block it...)

4- Try this:
Code:
#include <amxmodx> public plugin_init() {     register_message(get_user_msgid("TextMsg"), "message_textmsg") } public message_textmsg(msgid, msgdest, msgargs) {     new message[32]     get_msg_arg_string(2, message, charsmax(message))         if (equal(message, "#Weapon_Cannot_Be_Dropped")         return PLUGIN_HANDLED         return PLUGIN_CONTINUE }
__________________

Last edited by MeRcyLeZZ; 10-17-2011 at 01:03.
MeRcyLeZZ is offline
SGT
Senior Member
Join Date: Sep 2011
Old 10-17-2011 , 07:42   Re: Removing client print and HUD messages.
Reply With Quote #3

Thanks, everything worked.
SGT is offline
SGT
Senior Member
Join Date: Sep 2011
Old 10-18-2011 , 16:09   Re: Removing client print and HUD messages.
Reply With Quote #4

Another couple of questions.

1- How do I remove the [ZP] From every message? I know it means I would have to recompile everything but that's fine. Is it the "zp_colored_print" part? and if yes, then which plugin do I edit before I recompile everything to change that part.

2- How can I change the game name from "Zombie Plague 5.0.5" to Just "Zombie Plague"?

3- At the start of every round it says "The T Virus has been released". How do I remove that?


Edit: There is a cvar for the 3rd question in the zombie config file. I just need help with the first two now.

Last edited by SGT; 10-18-2011 at 22:04.
SGT is offline
MeRcyLeZZ
Veteran Member
Join Date: Dec 2007
Old 10-20-2011 , 00:33   Re: Removing client print and HUD messages.
Reply With Quote #5

Quote:
Originally Posted by SGT View Post
Another couple of questions.

1- How do I remove the [ZP] From every message? I know it means I would have to recompile everything but that's fine. Is it the "zp_colored_print" part? and if yes, then which plugin do I edit before I recompile everything to change that part.

2- How can I change the game name from "Zombie Plague 5.0.5" to Just "Zombie Plague"?
That's cool. Thankfully everything's much easier to customize in this version.

1- zp50_colorchat_const.inc
Code:
#define ZP_PREFIX "^x01[^x04ZP^x01] "

2- zp50_serverbrowser_info
Code:
formatex(g_ModName, charsmax(g_ModName), "Zombie Plague %s", ZP_VERSION_STR_LONG)
to
Code:
formatex(g_ModName, charsmax(g_ModName), "Zombie Plague")
__________________

Last edited by MeRcyLeZZ; 10-20-2011 at 00:37.
MeRcyLeZZ is offline
SGT
Senior Member
Join Date: Sep 2011
Old 10-21-2011 , 09:20   Re: Removing client print and HUD messages.
Reply With Quote #6

Thanks again, everything worked.
SGT is offline
felipemilralze
Senior Member
Join Date: Jul 2011
Location: Brazil
Old 06-05-2012 , 01:15   Re: Removing client print and HUD messages.
Reply With Quote #7

zp50 colorchat const.inc I changed and not get caught MeRcyLeZZ help me please
felipemilralze is offline
Send a message via MSN to felipemilralze Send a message via Skype™ to felipemilralze
gogicaa
Veteran Member
Join Date: Aug 2011
Location: //
Old 06-09-2012 , 13:02   Re: Removing client print and HUD messages.
Reply With Quote #8

Quote:
Originally Posted by felipemilralze View Post
zp50 colorchat const.inc I changed and not get caught MeRcyLeZZ help me please
Don't revive old threads .
ps. recompile all ZP plugins and it should work...
gogicaa is offline
tzuck
Member
Join Date: Jul 2011
Location: Romania
Old 06-19-2012 , 12:41   Re: Removing client print and HUD messages.
Reply With Quote #9

Working . Thank's merc .
__________________
My deathmatch server Dm.Kill4Fun.Ro Forum : - http://www.kill4fun.ro/forum
Pluign http://*******/AzF7o
tzuck is offline
Send a message via Yahoo to tzuck
Reply


Thread Tools
Display Modes

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 20:40.


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