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

Hide client console errors?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xm3kilo
Member
Join Date: Jan 2018
Old 03-13-2018 , 14:43   Hide client console errors?
Reply With Quote #1

As per the PTaH extension it says you can do so via

PTaH(PTaH_ConsolePrint, Hook, ConsolePrint);

Which doesn't seem to get triggered at all.

PTaH(PTaH_ServerConsolePrint, Hook, ServerConsolePrint);

Works for the server, but the ConsolePrint does not work for the client. I can't seem to trigger it AT ALL, with any message or command.

Any ideas? Is there another extension that will do this?
Cheers
xm3kilo is offline
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 03-13-2018 , 20:19   Re: Hide client console errors?
Reply With Quote #2

It's probably referring to the messages sent from the server to the clients console. The server isn't sending the errors to the client console, the client is printing errors from what issues it find it self most of the time. So the server has no knowledge of these prints to the console since it doesn't require server authorization to print them, thus there's no way to hook and suppress them.
__________________
I highly recommend joining the SourceMod Discord Server for real time support.
backwards 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 10:43.


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