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

Catch console


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JocAnis
Veteran Member
Join Date: Jun 2010
Old 12-28-2018 , 23:47   Catch console
Reply With Quote #1

Hello guys
Is there any option to hook client's commands made in console, eg kill, snapshot...?
If thats impo, is there a way to detect if client got a message in his console, example: snapshot -> Captured HalfLife8.tga
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-29-2018 , 02:10   Re: Catch console
Reply With Quote #2

It is not possible to see what a client types in their console. It is only possible to see the commands that are sent to the server. Snapshot is not a server command and thus I don't believe is ever sent to the server.
__________________
fysiks is offline
eat1k
Senior Member
Join Date: Apr 2018
Old 12-29-2018 , 06:42   Re: Catch console
Reply With Quote #3

register_clcmd("kill", "func_Kill");
register_forward(FM_ClientKill, "fmfwd_ClientKill_Pre");

It's not possible with snapshot cmd.
__________________
eat1k is offline
JocAnis
Veteran Member
Join Date: Jun 2010
Old 12-29-2018 , 09:46   Re: Catch console
Reply With Quote #4

Thanks guys for that... Is it possible for record? Because how i understand its client + server side (like its poss for status)
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)

Last edited by JocAnis; 12-29-2018 at 10:51.
JocAnis is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-29-2018 , 12:53   Re: Catch console
Reply With Quote #5

Demo recording just stores the data already available by just playing on the server, the client doesn't query for any additional data I think.
__________________
klippy 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 11:14.


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