AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   block quit command (https://forums.alliedmods.net/showthread.php?t=174602)

avril-lavigne 12-22-2011 13:59

block quit command
 
Can I block this comamnd or disconnect command if I put function in PLUGIN_HANDLED Ive tried but I still can disconnect even if
function(id)
return PLUGIN_HANDLED

ConnorMcLeod 12-22-2011 14:06

Re: block quit command
 
Funny request.
Would be nice to prevent player from connect to other servers or to have pc crashes or internet lost.

avril-lavigne 12-22-2011 14:15

Re: block quit command
 
nope - sv_timeout will kick player if connection lost ....
not neccesary disconnect / may be just reconnect command.

fysiks 12-22-2011 14:38

Re: block quit command
 
Quote:

Originally Posted by avril-lavigne (Post 1617874)
nope - sv_timeout will kick player if connection lost ....
not neccesary disconnect / may be just reconnect command.

He was joking since your request is pointless and not possible (in any logic).

ConnorMcLeod 12-22-2011 17:34

Re: block quit command
 
Sorry about the joke.
Those commands are client-side commands that are never sent to the server.


All times are GMT -4. The time now is 11:45.

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