splewis / csgo-retakes

CS:GO Sourcemod plugin for a site-retake gamemode
GNU General Public License v3.0
328 stars 115 forks source link

Remove csgo hud alerts? #86

Open jackarivera opened 7 years ago

jackarivera commented 7 years ago

Is there we can remove the CSGO hud alerts like: bomb has been planted and has 40 seconds to detonation? Its getting in the way of my code that says Retake B/A using PrintHintTextToAll

So is there a way to remove those annoying alerts server wise? any code/plugins I can use

RavageCS commented 7 years ago

You can block an event by returning Plugin_Handled;

https://wiki.alliedmods.net/Events_(SourceMod_Scripting)#Blocking_Events

jackarivera commented 7 years ago

How would I go about blocking a usermessage from happening?

borzaka commented 5 years ago

Try these:

gameinstructor_enable "0" //Removes in-game instructions
cl_showhelp "0" //Removes on-screen help
cl_autohelp "0" //Removes automatic help

cl_showhelp "0" should be the one you need.