rcon
can amx use rcon fully? such as run any rcon command and possibly get rcon information. i.e if you ran a command like amx_rcon maps * could it get that information?
Also, there is a command to detect when someone joins. What is the command to detect if someone is downloading off of the server? client_download(id) or something? |
Anyone?
|
the only thing u can get is a plugin connect_anounce and it dont say if the guy is donwloading or not
|
Ok so then you can detect when they connect.
Can you detect when they join the game? |
Code:
client_authorized - Called when a player has authenticated with Steam
|
asdf
|
ok, you can use get_gametime() function to store start_time in client_connect and end_time in client_putinserver, then calculate the difference..
Code:
but you can also disable download from server very easy: set server-cvar 'sv_allowdownload 0' |
what do I replace //do kick here with to have it do amx_rcon kick "user" "message" ???
And out of curiosity why is it return PLUGIN_CONTINUE and not handled since once they join the game or are kicked the plugin has completed it's function? |
Code:
im not quite sure if server_cmd is blocked when you put PLUGIN_HANDLED in client_putinserver, in client_connect you could use PLUGIN_HANDLED [edit] i use PLUGIN_HANDLED only if i want to block things. |
I think something is wrong in the kick function. I'm gonna see if I can fix it.
|
| All times are GMT -4. The time now is 05:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.