AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   SVC_DISCONNECT msg doubt (https://forums.alliedmods.net/showthread.php?t=187685)

meTaLiCroSS 06-16-2012 15:53

SVC_DISCONNECT msg doubt
 
We know that executing this message you can kick a player from a server with a "reason" or "reject reason".

I've tried to test it on a listen server, executing it to myself, but the reject reason only appears on my console, and no extra popup appeared D:

While you're connecting a that popup it's able to be shown, that's known.

My doubt it's, while you're playing that popup can be shown? Because, i've tested it and no popup appeared, and I think that was because I was playing on my listen server.

I wanted to use SVC_DISCONNECT msg's method, instead of calling a server command with "kick #userid" and blabla, but while playing you can get kicked perfectly, but if there's no popup shown, wont be wonderful.

ConnorMcLeod 06-16-2012 16:19

Re: SVC_DISCONNECT msg doubt
 
Don't use SVC_DISCONNECT, it is only a part of the kick process.

meTaLiCroSS 06-16-2012 16:22

Re: SVC_DISCONNECT msg doubt
 
Quote:

Originally Posted by ConnorMcLeod (Post 1730010)
Don't use SVC_DISCONNECT, it is only a part of the kick process.

So I should use it only for rejecting connections?

ConnorMcLeod 06-16-2012 17:42

Re: SVC_DISCONNECT msg doubt
 
Don't use it, use kick command + reason.

meTaLiCroSS 06-16-2012 17:47

Re: SVC_DISCONNECT msg doubt
 
Quote:

Originally Posted by ConnorMcLeod (Post 1730066)
Don't use it, use kick command + reason.

server_exec() it's needed?

ConnorMcLeod 06-17-2012 04:19

Re: SVC_DISCONNECT msg doubt
 
I don't see why you would need it.


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

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