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

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
srvmil
Senior Member
Join Date: Oct 2010
Old 03-02-2018 , 22:14   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2051

Is there any way to hide the message from chat for the mods on CSGO?

Spamming [SM] Weapon is restricted blah blah every rounds is kinda annoying and everyone knows what weapons are restricted. How...
srvmil is offline
Mikado
Senior Member
Join Date: Nov 2012
Location: don't know where :/
Old 03-02-2018 , 22:17   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2052

Quote:
Originally Posted by srvmil View Post
Is there any way to hide the message from chat for the mods on CSGO?

Spamming [SM] Weapon is restricted blah blah every rounds is kinda annoying and everyone knows what weapons are restricted. How...
Just remove them from the source, and recompile it, you will never ever see them again '-'
Mikado is offline
srvmil
Senior Member
Join Date: Oct 2010
Old 03-03-2018 , 02:34   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2053

Quote:
Originally Posted by Mikado View Post
Just remove them from the source, and recompile it, you will never ever see them again '-'
PrintToChat doesn't exist in weapon_restrict.sp, I don't know where they have put them in?


EDIT:
Quote:
L 03/03/2018 - 14:43:21: [SM] [1] Line 85, restrictinc/events.sp::OnWeaponCanUse
L 03/03/2018 - 14:43:21: [SM] Exception reported: Language phrase "glock" not found
L 03/03/2018 - 14:43:21: [SM] Blaming: weapon_restrict.smx
L 03/03/2018 - 14:43:21: [SM] Call stack trace:
L 03/03/2018 - 14:43:21: [SM] [0] PrintToChat
L 03/03/2018 - 14:43:21: [SM] [1] Line 85, restrictinc/events.sp::OnWeaponCanUse
L 03/03/2018 - 14:43:21: [SM] Exception reported: Language phrase "glock" not found
L 03/03/2018 - 14:43:21: [SM] Blaming: weapon_restrict.smx
L 03/03/2018 - 14:43:21: [SM] Call stack trace:
L 03/03/2018 - 14:43:21: [SM] [0] PrintToChat
L 03/03/2018 - 14:43:21: [SM] [1] Line 85, restrictinc/events.sp::OnWeaponCanUse
L 03/03/2018 - 14:43:21: [SM] Exception reported: Language phrase "glock" not found
L 03/03/2018 - 14:43:21: [SM] Blaming: weapon_restrict.smx
L 03/03/2018 - 14:43:21: [SM] Call stack trace:
L 03/03/2018 - 14:43:21: [SM] [0] PrintToChat
L 03/03/2018 - 14:43:21: [SM] [1] Line 85, restrictinc/events.sp::OnWeaponCanUse
L 03/03/2018 - 14:43:21: [SM] Exception reported: Language phrase "glock" not found
L 03/03/2018 - 14:43:21: [SM] Blaming: weapon_restrict.smx
L 03/03/2018 - 14:43:21: [SM] Call stack trace:
L 03/03/2018 - 14:43:21: [SM] [0] PrintToChat
L 03/03/2018 - 14:43:21: [SM] [1] Line 85, restrictinc/events.sp::OnWeaponCanUse
L 03/03/2018 - 14:43:21: [SM] Exception reported: Language phrase "glock" not found
L 03/03/2018 - 14:43:21: [SM] Blaming: weapon_restrict.smx
L 03/03/2018 - 14:43:21: [SM] Call stack trace:
L 03/03/2018 - 14:43:21: [SM] [0] PrintToChat
L 03/03/2018 - 14:43:21: [SM] [1] Line 85, restrictinc/events.sp::OnWeaponCanUse
L 03/03/2018 - 14:43:21: [SM] Exception reported: Language phrase "glock" not found
L 03/03/2018 - 14:43:21: [SM] Blaming: weapon_restrict.smx
L 03/03/2018 - 14:43:21: [SM] Call stack trace:
L 03/03/2018 - 14:43:21: [SM] [0] PrintToChat
L 03/03/2018 - 14:43:21: [SM] [1] Line 85, restrictinc/events.sp::OnWeaponCanUse
L 03/03/2018 - 14:43:21: [SM] Exception reported: Language phrase "glock" not found
L 03/03/2018 - 14:43:21: [SM] Blaming: weapon_restrict.smx
L 03/03/2018 - 14:43:21: [SM] Call stack trace:
L 03/03/2018 - 14:43:21: [SM] [0] PrintToChat
L 03/03/2018 - 14:43:21: [SM] [1] Line 85, restrictinc/events.sp::OnWeaponCanUse
L 03/03/2018 - 14:43:21: [SM] Exception reported: Language phrase "glock" not found
L 03/03/2018 - 14:43:21: [SM] Blaming: weapon_restrict.smx
L 03/03/2018 - 14:43:21: [SM] Call stack trace:
L 03/03/2018 - 14:43:21: [SM] [0] PrintToChat
L 03/03/2018 - 14:43:21: [SM] [1] Line 85, restrictinc/events.sp::OnWeaponCanUse
Yes I did delete the translation but then now the console is spammed with those messages, it should be nice if those spam is not there so that it can record logs of people talking or if they did something wrong. Having those spam make it harder to find in the logs.

Last edited by srvmil; 03-03-2018 at 02:45.
srvmil is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 03-03-2018 , 22:31   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2054

Quote:
Originally Posted by srvmil View Post
PrintToChat doesn't exist in weapon_restrict.sp, I don't know where they have put them in?


EDIT:
Yes I did delete the translation but then now the console is spammed with those messages, it should be nice if those spam is not there so that it can record logs of people talking or if they did something wrong. Having those spam make it harder to find in the logs.
Maybe you shouldnt delete the translations
Dr!fter is offline
srvmil
Senior Member
Join Date: Oct 2010
Old 03-03-2018 , 22:45   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2055

Quote:
Originally Posted by Dr!fter View Post
Maybe you shouldnt delete the translations
Easily to put them back on, but I would like to know how to stop these restrict message? To hide the message from chat for the mods on CSGO?

Spamming [SM] Weapon is restricted blah blah every rounds is kinda annoying and everyone knows what weapons are restricted.
srvmil is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 03-04-2018 , 01:52   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2056

You were already told how to remove it. Also it only shows up when people try to buy it or pick it up so clearly they don’t know.

Last edited by Dr!fter; 03-04-2018 at 01:53.
Dr!fter is offline
srvmil
Senior Member
Join Date: Oct 2010
Old 03-04-2018 , 05:06   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2057

Quote:
Originally Posted by Dr!fter View Post
You were already told how to remove it. Also it only shows up when people try to buy it or pick it up so clearly they don’t know.
Like I mentioned, I can't find "PrintToChat" in weapon_restrict.sp, why dont you have a look because it is not in there. So there no way to remove the chat.
srvmil is offline
sime0282
Member
Join Date: Dec 2017
Old 03-12-2018 , 16:58   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2058

How do i change so it dosnt say "[SM] Tango: respawned yui"

How do i edit to "[SM] ADMIN: respawned yui"
sime0282 is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 03-13-2018 , 08:53   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2059

Quote:
Originally Posted by sime0282 View Post
How do i change so it dosnt say "[SM] Tango: respawned yui"

How do i edit to "[SM] ADMIN: respawned yui"
I think you need to edit the following file:

PHP Code:
/cfg/sourcemod/sourcemod.cfg 
and change

PHP Code:
sm_show_activity 
Following these instructions and setting the desired value:

PHP Code:
// Specifies how admin activity should be relayed to users.  Add up the values
// below to get the functionality you want.
// 1: Show admin activity to non-admins anonymously.
// 2: If 1 is specified, admin names will be shown.
// 4: Show admin activity to admins anonymously.
// 8: If 4 is specified, admin names will be shown.
// 16: Always show admin names to root users.
// --
// Default: 13 (1+4+8) 

Give it a try (make sure to note the original value in case it doesn't work as you want and you need to revert it)
__________________

Last edited by Obyboby; 03-13-2018 at 08:53.
Obyboby is offline
Epiii
New Member
Join Date: May 2017
Old 03-16-2018 , 14:57   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2060

server crashes whenever i try to buy any weapon... no errors in logs
Epiii 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 16:58.


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