AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how to get the cmd return at a client? such as cmd "ver (https://forums.alliedmods.net/showthread.php?t=28504)

kinsprite2 05-16-2006 06:33

how to get the cmd return at a client? such as cmd "ver
 
Or we can't get it ? Thanks.

such as "version":

] version
Protocol version 47
Exe version 1.1.2.5 (cstrike)
Exe build: 21:56:52 Feb 8 2006 (3382)

Hawk552 05-16-2006 08:17

Not possible, I don't think. You might be able to try query_client_cvar and aim it at the cvar "version", but I think it's a command.

The other possibility is hooking the echo command, which I don't think is ever sent to the server anyway.

VEN 05-16-2006 08:22

Yes, it's a command. As PM stated in other thread you can try to use sockets module to get the info and then parse it and send to the client.

kinsprite2 05-17-2006 00:06

Quote:

Originally Posted by VEN
Yes, it's a command. As PM stated in other thread you can try to use sockets module to get the info and then parse it and send to the client.

I want to get the client version. Also, I can't find PM's thread about this. :roll:


All times are GMT -4. The time now is 16:30.

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