get_user_fps

For scripting examples for learning how to use AMXX.
User avatar
Archive-Poster
Posts: 1267
Gender:
United States of America

get_user_fps

Post by Archive-Poster »

Yes, FTW.
Gets user's FPS. ( Not server )

Value is mostly exact value.
±4 at occations.
Attachments
get_user_fps.inc.zip
(277 Bytes) Downloaded 8 times
get_user_fps.sma.zip
(546 Bytes) Downloaded 9 times
get_user_fps_for_plugin.sma.zip
(617 Bytes) Downloaded 8 times
User avatar
Archive-Poster
Posts: 1267
Gender:
United States of America

Re: get_user_fps

Post by Archive-Poster »

I'm not sure I see the usefulness in this, example of why it would be needed?
I've needed it before simply to make a display for the user of what their FPS is. But I wrote that plugin almost 2 years ago yet there's been no need for anything like that since.

I don't see any point in this either. It's extremely inaccurate. In fact, it's actually based more on the server's FPS than the client's and it's only accurate when both the client and server are very fast.
User avatar
Archive-Poster
Posts: 1267
Gender:
United States of America

Re: get_user_fps

Post by Archive-Poster »

Just use query_client_cvar( ) to get the value of fps_max
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests