Raised This Month: $51 Target: $400
 12% 

Connect/Disconnect messages


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KatowADRE
Member
Join Date: Feb 2020
Old 03-14-2020 , 12:23   Connect/Disconnect messages
Reply With Quote #1

Hello,

My request...

How to delete a message about a player who has entered and left the server. How to delete this message. The highlighted red square.

Look at the picture. Red square. How do I delete this? I would ask for step-by-step instructions.
Attached Images
File Type: jpg 20200314170728_1.jpg (83.1 KB, 185 views)
KatowADRE is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 03-22-2020 , 18:16   Re: Connect/Disconnect messages
Reply With Quote #2

PHP Code:
public void OnPluginStart()
{
    
HookEvent("player_disconnect"Event_DisconnectEventHookMode_Pre);
}

public 
Action Event_Disconnect(Event event, const char[] namebool dontBroadcast)
{
    if(!
dontBroadcastevent.BroadcastDisabled true;
    return 
Plugin_Continue;

__________________
Grey83 is offline
KatowADRE
Member
Join Date: Feb 2020
Old 03-27-2020 , 14:23   Re: Connect/Disconnect messages
Reply With Quote #3

I would like to ask for instructions on where to find it in which file.

And I would like to delete the information that the player has entered the server and left the server. I want to totally throw away this information. How to do it?
KatowADRE is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 03-28-2020 , 06:26   Re: Connect/Disconnect messages
Reply With Quote #4

https://wiki.alliedmods.net/Events_(...locking_Events
__________________
Grey83 is offline
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 02:48.


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