Raised This Month: $ Target: $400
 0% 

SCREENSHOTS F12 STEAM


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gollumrings
Junior Member
Join Date: Mar 2010
Old 04-23-2011 , 09:46   SCREENSHOTS F12 STEAM
Reply With Quote #1

Hello
I have a question!
As you know people have implemented a function to steam "screenshots", press F12 if you take a picture.
I can do so client-server command to execute F12 (I mean that screenshot made ​​by steam)
Is it possible? or DLL is required.
Thank you very much
Gollumrings is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 04-23-2011 , 09:51   Re: SCREENSHOTS F12 STEAM
Reply With Quote #2

Impossible.
bibu is offline
Gollumrings
Junior Member
Join Date: Mar 2010
Old 04-24-2011 , 08:29   Re: SCREENSHOTS F12 STEAM
Reply With Quote #3

Ok so I understand that this is not possible with the screenshot.
I have another question.
How can so that you know some details about a player:
rates
cl_updaterate
cl_cmdrate
fps_max
gamma
lightgamma
texgamma
ex_interp 0.1
developer
etc. ..
As far as I know but it works get_user_info function be used only for "rate"
the other does not.
We have seen that have used this function but I failed: query_client_cvar
All I want is when you in chat / check to appear in a hud message with all the settings you set the player:

rate: 25000
cl_updaterate: 50
cl_cmd: 100
fps_max: 75
gamma 2
lightgamma: 2.5
texgamma: 2
ex_interp: 0.1
developer: 0

An example ..
If you can show me an example ..
Thanks a lot
Gollumrings is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-24-2011 , 08:31   Re: SCREENSHOTS F12 STEAM
Reply With Quote #4

There are already plugins for that, please search and query_client_cvar works fine.
__________________
Arkshine is offline
Gollumrings
Junior Member
Join Date: Mar 2010
Old 04-24-2011 , 08:54   Re: SCREENSHOTS F12 STEAM
Reply With Quote #5

You mean it? works but from what I see is a problem as it makes him appear in HUD?
I tried something but the messages should not appear as ..

Quote:
#include <amxmodx>
#include <amxmisc>

public plugin_init()
{
register_plugin("TEST","1.0","KG")
register_concmd("amxx_check","checkPlayer",AD MIN_BAN,"<name> - info. players")
}

public checkPlayer(id, lvl, cid)
{
if( ! ( cmd_access( id , lvl , cid , 2 ) ) )
return PLUGIN_HANDLED

new arg[32];

read_argv(1 , arg , 31)

new player = cmd_target( id, arg, 1)

if( !player)
return PLUGIN_HANDLED

query_client_cvar(player, "rate", "cvar_result")
query_client_cvar(player, "fps_max", "cvar_result")
query_client_cvar(player, "cl_cmdrate", "cvar_result")

return PLUGIN_CONTINUE
}

public cvar_result(id, const cvar[], const value[])
{
// Hud
set_hudmessage(200, 100, 0, 0.01, 0.50, 0, 0.0, 5.0)
show_hudmessage(id, "rate is: %s", value)

// Console
console_print(id, "rate is: %s", value)
return PLUGIN_HANDLED
}
Gollumrings is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 04-24-2011 , 11:05   Re: SCREENSHOTS F12 STEAM
Reply With Quote #6

That would make 3 messages come up, and they would all say rate is: %s

id is the index of the player whose cvar info you are getting, not the person who sent the command.

Also, not sure if this makes a tremendous difference, but if( !player ) -> if( !is_user_connected( player ) );
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Gollumrings
Junior Member
Join Date: Mar 2010
Old 04-24-2011 , 11:19   Re: SCREENSHOTS F12 STEAM
Reply With Quote #7

And how could I make it work? all appear as one other one
rate: 25000
fps_max: 75
cl_cmdrate: 100
Gollumrings is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-24-2011 , 11:22   Re: SCREENSHOTS F12 STEAM
Reply With Quote #8

You don't need to know their rates because you can force them to use your own with:

Code:
sv_maxupdaterate
sv_minupdaterate
sv_maxrate
sv_minrate
FYI
__________________
fysiks is offline
Gollumrings
Junior Member
Join Date: Mar 2010
Old 04-24-2011 , 11:28   Re: SCREENSHOTS F12 STEAM
Reply With Quote #9

Yes I understand, but I want to check to see what players play settings and those settings appear in the HUD:
rate: .....
fps_max ...
I saw something that is possible because I saw a server that, but that source is not public.
Gollumrings is offline
Old 04-24-2011, 13:40
Gollumrings
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
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 20:11.


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