client_cmd quest
Is it possible to client_cmd(id, "shit"); someone on an HLTV? Obviously you can't put AMXX on an HLTV but is it possible to do it remotely some how? And if so, how?
|
Re: client_cmd quest
I think you can remote it through sockets! Was a post started somewhere with this! Search for it :wink:
EDIT:Check this http://forums.alliedmods.net/showthr...ht=HLTV+remote exec start/stop record on HLTV! |
Re: client_cmd quest
Change rcon_address to point to the HLTV and use server_cmd("rcon ...").
|
Re: client_cmd quest
Quote:
And I was thinking sockets be the right way, but I don't think I fully understand how sockets works. So with sockets I can remotely hook into the server (or hltv) and run amx stuff as if it was on the server? |
Re: client_cmd quest
No obviously you're not going to put a function call in an rcon query.
Here's what he was talking about (example rcon query): Code:
rcon say Alpha-Bravo-Charlie |
Re: client_cmd quest
LoL i understand rcon and using rcon_address to call a command to another addy. If that's what I needed I would have used that. I need to know if I can call the client_cmd fucntion on a client on an HLTV from a server.
|
Re: client_cmd quest
I understand what you want. Try what I said and come back if it doesn't work. I'm pretty sure HLDS has RCON implemented just like a client. Something similar to..
Code:
|
Re: client_cmd quest
No, you obviously don't. For like the third time I want to run a command on a CLIENT not make the server record a demo.
|
Re: client_cmd quest
I'm not going to say this again.. I know that you want to execute commands on a HLTV using the server - not on the server and not from a client. I'm telling you how to do it but you don't want to listen.
Think about what it is you're saying. Who would use server_cmd() in a console command? Who would use rcon to execute commands locally? |
Re: client_cmd quest
I...
want... to... make... a... client... on... HLTV... run... a... command. example: have a client on hltv bind his c key to +use. which would require me to be able to run client_cmd on the people in hltv. |
| All times are GMT -4. The time now is 21:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.