How to listen to reply from client commands
Is there a way to listen to client commands. Like a amxx plugin sent a command which is expected to receive a reply from player console , how do we get it to the plugin and check whether it matches the expected reply.
|
Re: How to listen to reply from client commands
Try giving an example, I am not really sure what's your intention.
|
Re: How to listen to reply from client commands
Can you give an example of what you are talking about?
|
Re: How to listen to reply from client commands
|
Re: How to listen to reply from client commands
Like if I send the player a command , say cl_updaterate the console reply would be say 50, So how do I get that "50" to my plugin and then compare it with my expected reply , say "30-80". Else kicks and bans the player through amx bans.
|
Re: How to listen to reply from client commands
You can check a client cvar value with query_client_cvar.
PHP Code:
|
| All times are GMT -4. The time now is 09:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.