AlliedModders

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

OvidiuS 03-21-2014 05:09

SVC_DISCONNECT message
 
How to replace "You have been disconnected from the server.^nReason: %s" message??
Is it possible to do this with orpheu?

Or is there anyway to silently or with "full" custom message disconnect/kick player?

^SmileY 03-22-2014 12:39

Re: SVC_DISCONNECT message
 
Search in code snippets.

OvidiuS 03-22-2014 12:45

Re: SVC_DISCONNECT message
 
Quote:

Originally Posted by ^SmileY (Post 2114542)
Search in code snippets.

Only thing i found there is https://forums.alliedmods.net/showthread.php?t=47227 and if you read my post, you'll see that's not what i'm asking for. Can you please be more specific?

Roccoxx 03-22-2014 14:07

Re: SVC_DISCONNECT message
 
this?

PHP Code:

public Kick (id)
{
    
message_begin(MSG_ONESVC_DISCONNECT, {000}, id)
    
write_string("Your Sucks")
    
message_end()



mapper07 03-22-2014 14:20

Re: SVC_DISCONNECT message
 
https://forums.alliedmods.net/showthread.php?p=1545485

OvidiuS 03-22-2014 21:47

Re: SVC_DISCONNECT message
 
Quote:

Originally Posted by Roccoxx (Post 2114582)
this?

PHP Code:

public Kick (id)
{
    
message_begin(MSG_ONESVC_DISCONNECT, {000}, id)
    
write_string("Your Sucks")
    
message_end()



Nope. That disconnects client with "You have been disconnected..." message. I don't want that.

Quote:

Originally Posted by mapper07 (Post 2114584)

Lol? That plugin is only showing disconnected reason to other players on client disconnect. Please read my post, or ask me if you don't understand.


All times are GMT -4. The time now is 05:55.

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