Raised This Month: $ Target: $400
 0% 

SVC_DISCONNECT message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 03-21-2014 , 05:09   SVC_DISCONNECT message
Reply With Quote #1

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?

Last edited by OvidiuS; 03-21-2014 at 05:26.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 03-22-2014 , 12:39   Re: SVC_DISCONNECT message
Reply With Quote #2

Search in code snippets.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 03-22-2014 , 12:45   Re: SVC_DISCONNECT message
Reply With Quote #3

Quote:
Originally Posted by ^SmileY View Post
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?

Last edited by OvidiuS; 03-22-2014 at 12:46.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
Roccoxx
AlliedModders Donor
Join Date: Jan 2012
Location: Argentina
Old 03-22-2014 , 14:07   Re: SVC_DISCONNECT message
Reply With Quote #4

this?

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

__________________
Tutorials here (Spanish)

Like as another Pijudo said: "Tired and retired"
Roccoxx is offline
Send a message via MSN to Roccoxx
mapper07
Member
Join Date: Oct 2012
Location: NY
Old 03-22-2014 , 14:20   Re: SVC_DISCONNECT message
Reply With Quote #5

https://forums.alliedmods.net/showthread.php?p=1545485
mapper07 is offline
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 03-22-2014 , 21:47   Re: SVC_DISCONNECT message
Reply With Quote #6

Quote:
Originally Posted by Roccoxx View Post
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 View Post
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.

Last edited by OvidiuS; 03-22-2014 at 21:49.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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