AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SOLVED]User info (https://forums.alliedmods.net/showthread.php?t=88987)

One 03-31-2009 15:17

[SOLVED]User info
 
How can i get user infos like :

max_fps
real fps // user can have fps_max 99999 but maybe he had 60.. or 100 or ... u know what i mean.

cl_forwardspeed
cl_backspeed
cl_sidespeed

&... some cmds like this.

IneedHelp 03-31-2009 15:20

Re: User info
 
query_client_cvar()

One 03-31-2009 15:49

Re: User info
 
Ty. but how get the real fps?

hmmm:-? i can get fps_max, but maybe its not true.i mean the cmd is true but nobody can have 9999..

Exolent[jNr] 03-31-2009 15:57

Re: User info
 
It's not possible to accurately get the player's real fps.

One 03-31-2009 15:59

Re: User info
 
Ty :cry:

Exolent[jNr] 03-31-2009 16:10

Re: User info
 
http://forums.alliedmods.net/showthread.php?t=66890

ConnorMcLeod 03-31-2009 16:35

Re: User info
 
And what about 1/(0.001*pushmsec) ?

One 03-31-2009 16:38

Re: User info
 
Omg, this is awesome:shock: btw how can i use this?

hmm... there is no tut. how can i print user fps?its to high 4 me :D

ConnorMcLeod 03-31-2009 16:39

Re: User info
 
Quote:

Originally Posted by One (Post 794244)
Omg, this is awesome:shock: btw how can i use this?

hmm... there is no tut. how can i print user fps?its to high 4 me :D

Question was about the accuracy of the method, but you can try to print this in CmdStart :

client_print(id, print_center, "%.1f", 1.0/(0.001*pev(id, pev_pushmsec)))

One 03-31-2009 16:44

Re: User info
 
Quote:

Originally Posted by ConnorMcLeod (Post 794246)
Question was about the accuracy of the method, but you can try to print this in CmdStart :

client_print(id, print_center, "%.1f", 1.0/(0.001*pev(id, pev_pushmsec)))

ok, Ty. ill test this tomorrow. i hope this works or better said "ma code work":mrgreen:


All times are GMT -4. The time now is 02:20.

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