Raised This Month: $ Target: $400
 0% 

get_user_latency(id)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jon
Veteran Member
Join Date: Dec 2007
Old 10-28-2009 , 17:11   Re: get_user_latency(id)
Reply With Quote #1

The term ping is just misunderstood by many (including me). I use both words for the latency players have on scoreboard.
Jon is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-28-2009 , 18:01   Re: get_user_latency(id)
Reply With Quote #2

Try to register a command in plugin_init, use client_cmd to send this command and store the gametime, then in the callback check the current gametime, could give you some idea about latency.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 10-30-2009 , 09:29   Re: get_user_latency(id)
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
Try to register a command in plugin_init, use client_cmd to send this command and store the gametime, then in the callback check the current gametime, could give you some idea about latency.
I don't understand how gametime helps to get latency
Empowers is offline
Send a message via ICQ to Empowers
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 17:37.


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