Raised This Month: $32 Target: $400
 8% 

notification


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
domigici
New Member
Join Date: Feb 2021
Old 02-15-2021 , 22:19   notification
Reply With Quote #1

how can i remove those original connect / disconnect / player join team?

Want to fondle an Asian pussy? Then this is the place for you https://asianpornpussy.xxx/

Last edited by domigici; 04-20-2021 at 00:47.
domigici is offline
FAQU
Member
Join Date: Sep 2020
Location: Romania
Old 02-16-2021 , 01:57   Re: notification
Reply With Quote #2

There you go:
PHP Code:
#include <sourcemod>
#include <sdktools>

#pragma semicolon 1
#pragma newdecls required

public void OnPluginStart()
{
    
HookEvent("player_connect"Event_PlayerConnectEventHookMode_Pre);
    
HookEvent("player_disconnect"Event_PlayerDisconnectEventHookMode_Pre);
    
HookEvent("player_team"Event_PlayerTeamEventHookMode_Pre);
}

public 
void Event_PlayerConnect(Event event, const char[] namebool dontBroadcast)
{
    
SetEventBroadcast(eventtrue);
}

public 
void Event_PlayerDisconnect(Event event, const char[] namebool dontBroadcast)
{
    
SetEventBroadcast(eventtrue);
}

public 
void Event_PlayerTeam(Event event, const char[] namebool dontBroadcast)
{
    
event.SetBool("silent"true);

__________________
FAQU is offline
Reply


Thread Tools
Display Modes

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 21:49.


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