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

Plugin Request: Hide Killfeed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tank_in_Pink
Member
Join Date: Feb 2016
Old 06-14-2016 , 12:29   Plugin Request: Hide Killfeed
Reply With Quote #1

Hey guys, this is my first post so please tell me if I did something wrong.
I'm searching for a plugin that simply removes the killfeed or the deathnotices in CSGO. If there is already a plugin like this it would be nice if you just link it ;) If not that would be something you could think off. I'm thinking about to start creating plugins too so i might start with this if it isn't too hard... ^^
Thank you for your help already,
TΛNK
Tank_in_Pink is offline
Jakeey802
Senior Member
Join Date: Oct 2015
Old 06-15-2016 , 02:15   Re: Plugin Request: Hide Killfeed
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?p=1684156

if u remove isfakeclient from that code pretty sure it will do what you want
Jakeey802 is offline
Tank_in_Pink
Member
Join Date: Feb 2016
Old 06-16-2016 , 09:21   Re: Plugin Request: Hide Killfeed
Reply With Quote #3

Quote:
Originally Posted by Jakeey802 View Post
https://forums.alliedmods.net/showthread.php?p=1684156

if u remove isfakeclient from that code pretty sure it will do what you want
can somebody do this for me? because i cant install the sourcemod plugin for my notepad++
it would be nice too if somebody would be explain how i do install the plugin :)

Last edited by Tank_in_Pink; 06-16-2016 at 09:24.
Tank_in_Pink is offline
Jakeey802
Senior Member
Join Date: Oct 2015
Old 06-16-2016 , 12:04   Re: Plugin Request: Hide Killfeed
Reply With Quote #4

Should work. Untested
addons/sourcemod/plugins/
Attached Files
File Type: sp Get Plugin or Get Source (botfeed.sp - 420 views - 2.3 KB)
File Type: smx botfeed.smx (4.6 KB, 104 views)
Jakeey802 is offline
irepz
Senior Member
Join Date: Mar 2013
Location: France
Old 06-17-2016 , 09:57   Re: Plugin Request: Hide Killfeed
Reply With Quote #5

Possible to make it display only your own killfeed ?
__________________
irepz is offline
irepz
Senior Member
Join Date: Mar 2013
Location: France
Old 01-02-2017 , 13:09   Re: Plugin Request: Hide Killfeed
Reply With Quote #6

Bump, is it possible only for yourself ?
Can pay if someone can do it
__________________

Last edited by irepz; 01-02-2017 at 13:11.
irepz is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-02-2017 , 14:08   Re: Plugin Request: Hide Killfeed
Reply With Quote #7

Code:
#include <sourcemod> public void OnPluginStart() {     HookEvent("player_death", OnPlayerDeath, EventHookMode_Pre); } public Action OnPlayerDeath(Event event, const char[] strName, bool bDontBroadcast) {     event.BroadcastDisabled = true;         int attacker = GetClientOfUserId(event.GetInt("attacker"));     if (attacker != 0 && IsClientConnected(attacker))     {            event.FireToClient(attacker);     }        return Plugin_Continue; }
psychonic is offline
irepz
Senior Member
Join Date: Mar 2013
Location: France
Old 01-03-2017 , 08:56   Re: Plugin Request: Hide Killfeed
Reply With Quote #8

Awesome, i guess we're close to make it works :p

Quote:
L 01/03/2017 - 13:53:47: [SM] Exception reported: Game event "player_death" could not be fired because it was not created by this plugin
L 01/03/2017 - 13:53:47: [SM] Blaming: killfeed.smx
L 01/03/2017 - 13:53:47: [SM] Call stack trace:
L 01/03/2017 - 13:53:47: [SM] [0] Event.FireToClient
L 01/03/2017 - 13:53:47: [SM] [1] Line 15, killfeed.sp::OnPlayerDeath
__________________
irepz is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-03-2017 , 11:13   Re: Plugin Request: Hide Killfeed
Reply With Quote #9

Whoops, sorry. Looks like the event has to be recreated from scratch and manually copied. I'll see if there's a better way.

Last edited by psychonic; 01-03-2017 at 11:15.
psychonic is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-03-2017 , 20:40   Re: Plugin Request: Hide Killfeed
Reply With Quote #10

The example I gave above should now work on the latest dev build of SM.
psychonic 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 10:02.


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