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

Solved Force client to take a screenshot?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kratoss1812
Senior Member
Join Date: May 2018
Location: Romānia
Old 06-17-2018 , 04:37   Force client to take a screenshot?
Reply With Quote #1

Is it posibile to force a client to take a screenshot via Steam? I mean let's say someone is cheating and an admin will use the sm_screen target and the cheater will have to sent the screenshot to admin.

Maybe with ClientCommand?

Last edited by kratoss1812; 06-20-2018 at 17:33.
kratoss1812 is offline
DukeBruno123
Member
Join Date: Jan 2016
Location: Germany
Old 06-17-2018 , 06:57   Re: Force client to take a screenshot?
Reply With Quote #2

"screenshot" command maybe, but its impossible to make the client upload it automatically.
DukeBruno123 is offline
kratoss1812
Senior Member
Join Date: May 2018
Location: Romānia
Old 06-17-2018 , 07:13   Re: Force client to take a screenshot?
Reply With Quote #3

Quote:
Originally Posted by DukeBruno123 View Post
"screenshot" command maybe, but its impossible to make the client upload it automatically.
I don't want to make him upload automatically on steam, just to save it
kratoss1812 is offline
x913
New Member
Join Date: May 2018
Old 06-17-2018 , 14:09   Re: Force client to take a screenshot?
Reply With Quote #4

That's impossible.
__________________
x913 is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 06-17-2018 , 15:07   Re: Force client to take a screenshot?
Reply With Quote #5

Quote:
Originally Posted by DukeBruno123 View Post
"screenshot" command maybe, but its impossible to make the client upload it automatically.
That won't work.
These are the cmds that the server can run thru ClientCommand(...)
PHP Code:
"gamepadslot4"  client server_can_execute                                       
"disconnect"  server_can_execute                                                 Disconnect game from server.
"cam_idealdistup" "0" client archive server_can_execute                       
"name" "Hexah #!" def"unnamed" archive server_can_execute user ss        Current user name
"firstperson"  client server_can_execute                                         - Switch to firstperson camera.
"soundfade"  server_can_execute                                                  Fade client volume.
"r_drawscreenoverlay" "1" client cheat server_can_execute                     
"gamepadslot3"  client server_can_execute                                       
"invprev"  client server_can_execute                                            
"cancelselect"  client server_can_execute clientcmd_can_execute                 
"cam_idealdistright" "0" client archive server_can_execute                    
"cam_idealdist" "150" client archive server_can_execute                       
"dsp_player" "0" server_can_execute                                           
"invnext"  client server_can_execute                                            
"r_drawunderwateroverlay" "0" client cheat server_can_execute                 
"retry"  server_can_execute clientcmd_can_execute                                Retry connection to last server.
"play"  server_can_execute                                                       Play a sound.
"invnextitem"  client server_can_execute                                        
"cam_idealyaw" "0" client archive server_can_execute                          
"slot10"  client server_can_execute                                             
"playgamesound"  client server_can_execute clientcmd_can_execute                 Play a sound from the game sounds txt file
"cam_idealpitch" "0" client archive server_can_execute                        
"gamepadslot5"  client server_can_execute                                       
"slot11"  client server_can_execute                                             
"buymenu"  client server_can_execute                                             Show or hide main buy menu
"dm_togglerandomweapons"  client server_can_execute clientcmd_can_execute        Turns random weapons in deathmatch on/off
"thirdperson"  client cheat server_can_execute                                   - Switch to thirdperson camera.
"gamepadslot2"  client server_can_execute                                       
"cl_soundscape_flush"  client cheat server_can_execute                           Flushes the client side soundscapes
"cam_collision" "1" client archive server_can_execute                          When in thirdperson and cam_collision is set to 1an attempt is made to keep th
"lastinv"  client server_can_execute                                            
"gamepadslot6"  client server_can_execute                                       
"gamepadslot1"  client server_can_execute                                       
"invnextgrenade"  client server_can_execute                                     
"echo"  server_can_execute                                                       - Echo text to console.
"snd_playsounds"  client cheat server_can_execute clientcmd_can_execute          Play sounds from the game sounds txt file at a given location
"snd_setsoundparam"  client server_can_execute clientcmd_can_execute             Set a sound paramater
"slot1"  client server_can_execute                                              
"slot2"  client server_can_execute                                              
"slot3"  client server_can_execute                                              
"slot4"  client server_can_execute                                              
"slot5"  client server_can_execute                                              
"slot6"  client server_can_execute                                              
"slot7"  client server_can_execute                                              
"slot8"  client server_can_execute                                              
"slot9"  client server_can_execute                                              
"slot0"  client server_can_execute                                              
"teammenu"  client server_can_execute                                            Show team selection window
"invnextnongrenade"  client server_can_execute                                  
"play_hrtf"  server_can_execute                                                  Play a sound with HRTF spatialization.
"r_screenoverlay"  client cheat server_can_execute                               Draw specified material as an overlay
"cl_spec_mode" "5" def"0" client archive server_can_execute user ss      Saves the last viewed spectator mode for use next time we start to spectate 
Use
Code:
 findflags  SERVER_CAN_EXECUTE
to retrive them.





The best thing you can do it's to use the GOTV
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!

Last edited by Papero; 06-17-2018 at 15:08.
Papero is offline
kratoss1812
Senior Member
Join Date: May 2018
Location: Romānia
Old 06-17-2018 , 17:05   Re: Force client to take a screenshot?
Reply With Quote #6

Quote:
Originally Posted by Papero View Post
That won't work.
These are the cmds that the server can run thru ClientCommand(...)
PHP Code:
"gamepadslot4"  client server_can_execute                                       
"disconnect"  server_can_execute                                                 Disconnect game from server.
"cam_idealdistup" "0" client archive server_can_execute                       
"name" "Hexah #!" def"unnamed" archive server_can_execute user ss        Current user name
"firstperson"  client server_can_execute                                         - Switch to firstperson camera.
"soundfade"  server_can_execute                                                  Fade client volume.
"r_drawscreenoverlay" "1" client cheat server_can_execute                     
"gamepadslot3"  client server_can_execute                                       
"invprev"  client server_can_execute                                            
"cancelselect"  client server_can_execute clientcmd_can_execute                 
"cam_idealdistright" "0" client archive server_can_execute                    
"cam_idealdist" "150" client archive server_can_execute                       
"dsp_player" "0" server_can_execute                                           
"invnext"  client server_can_execute                                            
"r_drawunderwateroverlay" "0" client cheat server_can_execute                 
"retry"  server_can_execute clientcmd_can_execute                                Retry connection to last server.
"play"  server_can_execute                                                       Play a sound.
"invnextitem"  client server_can_execute                                        
"cam_idealyaw" "0" client archive server_can_execute                          
"slot10"  client server_can_execute                                             
"playgamesound"  client server_can_execute clientcmd_can_execute                 Play a sound from the game sounds txt file
"cam_idealpitch" "0" client archive server_can_execute                        
"gamepadslot5"  client server_can_execute                                       
"slot11"  client server_can_execute                                             
"buymenu"  client server_can_execute                                             Show or hide main buy menu
"dm_togglerandomweapons"  client server_can_execute clientcmd_can_execute        Turns random weapons in deathmatch on/off
"thirdperson"  client cheat server_can_execute                                   - Switch to thirdperson camera.
"gamepadslot2"  client server_can_execute                                       
"cl_soundscape_flush"  client cheat server_can_execute                           Flushes the client side soundscapes
"cam_collision" "1" client archive server_can_execute                          When in thirdperson and cam_collision is set to 1an attempt is made to keep th
"lastinv"  client server_can_execute                                            
"gamepadslot6"  client server_can_execute                                       
"gamepadslot1"  client server_can_execute                                       
"invnextgrenade"  client server_can_execute                                     
"echo"  server_can_execute                                                       - Echo text to console.
"snd_playsounds"  client cheat server_can_execute clientcmd_can_execute          Play sounds from the game sounds txt file at a given location
"snd_setsoundparam"  client server_can_execute clientcmd_can_execute             Set a sound paramater
"slot1"  client server_can_execute                                              
"slot2"  client server_can_execute                                              
"slot3"  client server_can_execute                                              
"slot4"  client server_can_execute                                              
"slot5"  client server_can_execute                                              
"slot6"  client server_can_execute                                              
"slot7"  client server_can_execute                                              
"slot8"  client server_can_execute                                              
"slot9"  client server_can_execute                                              
"slot0"  client server_can_execute                                              
"teammenu"  client server_can_execute                                            Show team selection window
"invnextnongrenade"  client server_can_execute                                  
"play_hrtf"  server_can_execute                                                  Play a sound with HRTF spatialization.
"r_screenoverlay"  client cheat server_can_execute                               Draw specified material as an overlay
"cl_spec_mode" "5" def"0" client archive server_can_execute user ss      Saves the last viewed spectator mode for use next time we start to spectate 
Use
Code:
 findflags  SERVER_CAN_EXECUTE
to retrive them.





The best thing you can do it's to use the GOTV
How can I use GO TV?
kratoss1812 is offline
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 06-20-2018 , 08:28   Re: Force client to take a screenshot?
Reply With Quote #7

to record a demo
lugui is offline
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 19:50.


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