get total ping
how can i get the all player total ping?
the server has 5players playing, Player a ping is 10.. Player b ping is 20.. Player c ping is 16.. Player d ping is 5.. Player e ping is 30.. a+b+c+d+e = TotalPing |
Re: get total ping
Its when you press tab (Player Status Hud) The Latency ____
|
Re: get total ping
Quote:
|
Re: get total ping
PHP Code:
|
Re: get total ping
Quote:
thank:) i am trying to script a plugin but still have many error. PHP Code:
|
Re: get total ping
iServerPing == iTotalPing / get_playersnum()
-> Put this OUTSIDE of the for loop : iServerPing = iTotalPing / iNum |
Re: get total ping
Quote:
but i still get a problem set_cvar_string is not work? PHP Code:
|
Re: get total ping
I think i fixed it.
Compiles fine now. No errors. PHP Code:
|
Re: get total ping
Quote:
it only show the cvar"--" |
Re: get total ping
You want it to show it?
Like this? PHP Code:
|
| All times are GMT -4. The time now is 08:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.