AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Client drop (https://forums.alliedmods.net/showthread.php?t=53743)

alien 04-10-2007 10:16

Client drop
 
Hello, nobody replied to my previous message :-(

I just need to know, how to drop client in client_connect(id). Could someone help?

Thnx!

Brad 04-10-2007 10:28

Re: Client drop
 
No responded, in part, because you had posted on the wrong board. This question is a "Scripting" question and as such should have been posted on THAT board.

Moving from "Support".

Kick the player in client_connect(). See any number of plugins to find out how to do that.

alien 04-10-2007 17:55

Re: Client drop
 
It was quite a while since I made a visit to these forums - it got completely changed. I apologize.

I have no other questions regarding the topic. It was my fault. I never used to kick players by their names, only by their userid's. And AFAYK, there is no userid assigned while client is not in-game - so I got confused.

Kick by name works really well.

Dumb, dumb ... dumb me.

storm007fire 04-15-2007 08:47

Re: Client drop
 
client_disconnect message=true

VEN 04-15-2007 11:31

Re: Client drop
 
Quote:

client_disconnect message=true
What?

storm007fire 04-15-2007 13:17

Re: Client drop
 
you can accualy before they disconnect make a message client_disconnected saying you pressed disconnect client_connect = false client_disconnect = true


All times are GMT -4. The time now is 06:41.

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