get hltv delay value
Hello,
Is there a way for the game server to check connected hltv delay time? And lets say if it is below 15seconds kick it? |
Re: get hltv delay value
I don't think there is because the HLTV is treated like any other player (other than it's SteamID and such).
I wonder if maybe it's in the user info. Maybe try get_user_info() with some stuff and see if it broadcasts that kind of information. |
Re: get hltv delay value
hm interesting that could proven to be helpful.
for information the delay time is visible in status I reckon you know this, is there a way to retrieve it from there? Its position is that of user frags, perhaps get_user_frags? |
Re: get hltv delay value
Quote:
Code:
status |
Re: get hltv delay value
Quote:
|
Re: get hltv delay value
You have access to hltv proxy?
or just try: PHP Code:
|
Re: get hltv delay value
Having no luck so far, am getting
PHP Code:
On the hltv the command 'setinfo' is not registered. yet hltv clearly passes info to status. Think ill have to go try query_client_cvar. |
Re: get hltv delay value
Try this:
PHP Code:
|
Re: get hltv delay value
I assume "hdelay" was a type o and meant to be "delay"
Code:
<Kicked : "HLTV delay<0> too low <MAX=15>" >.so far I havent been able to get the hltv delay value. When the gameserver knows the given hltv delay time from 'status' there must be a way to retrieve it right? |
Re: get hltv delay value
Or it was not a typo and you should try out the code he has probably confirmed working. I think hdelay is the correct info name.
|
| All times are GMT -4. The time now is 09:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.