Raised This Month: $ Target: $400
 0% 

[L4D1&2] Witch crown statistic


Post New Thread Reply   
 
Thread Tools Display Modes
Raikage
Junior Member
Join Date: Jun 2020
Old 07-07-2020 , 00:16   Re: [L4D1&2] Witch crown statistic
Reply With Quote #41

Quote:
Originally Posted by Marttt View Post
Just check "if (client > 0)" before printing.
Client 0 means invalid/unknown client or killed by "world" sometimes.
Plugin is not working for me. It just shows ############### when you type !topcrowners.
Raikage is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 05-27-2021 , 08:31   Re: [L4D1&2] Witch crown statistic
Reply With Quote #42

The opening poster plugin has no kill condition for the Witch when she catches fire. If I throw a Molotov on her, she'll burn to death and the plugin will print a "Witch killed by console" message. Is there any way for the OP code to be updated to read "Witch killed by <playername>"?

EDIT: I found another (although much simpler) plugin [link here] that doesn't record the 'Witch killed by console' message. But I've modified that plugin slightly to include normal kills (as well as crowns).
Attached Files
File Type: sp Get Plugin or Get Source (Crown-Kill-Witch-Notifier-5.sp - 129 views - 1.4 KB)

Last edited by Sunyata; 05-28-2021 at 03:46.
Sunyata 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 01:06.


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