Raised This Month: $ Target: $400
 0% 

get_user_ping() on client_authorized() event


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kalash1k
Member
Join Date: Nov 2008
Old 02-08-2010 , 12:24   get_user_ping() on client_authorized() event
Reply With Quote #1

Hello all.

I have a question. Why is the "ping" in get_user_ping(id, ping, loss) returns 0 on client_authorized() entity ?

Here is what I mean exactly:
Code:
public client_putinserver(id)
{
	new ping, loss

	get_user_ping(id, ping, loss)
	
	server_print("Ping %d", ping)
}
It prints: Ping 0.

I tried to use client_connect(), client_putinserver(id)
And there is the same result.

Is there any way to hook client's ping when he is connecting (or authorized, or putinserver) ?
kalash1k is offline
 



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 07:23.


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