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

[INS] SpecDetails


Post New Thread Reply   
 
Thread Tools Display Modes
wribit
Member
Join Date: Jan 2015
Old 04-05-2015 , 12:05   Re: [INS] SpecDetails
Reply With Quote #11

SpecDetails V2!

When you die and become a spectator, this plugin will display a panel on the left with details about the person you are spectating.

Details shown:
  • Name
  • Weapon (current weapon being used.)
  • Kills (Number of kills during the current round.) * not counting friendly kills
  • Deaths (Number of deaths during the current round.) * not counting friendly deaths
  • Health
These details will update as the round goes on, and will reset at the end of the round.

Update information
V. 2 - Fixed a bug where in PvP modes, the K/D counts weren't adding up

Cvars


The cvars are found in the plugin.SpecDetails.cfg file in the sourcemod folder, under insurgency/cfg.

sm_specDetails_enabled : 1 to enable, 0 to disable
Attached Files
File Type: sp Get Plugin or Get Source (SpecDetails.sp - 358 views - 5.7 KB)
__________________
If you wish to show your appreciation for the time and effort I put in these plugins, please click the button below to make a donation.

[IMG]http://s1.************/hxzfirnu3/donate.gif[/IMG]

Thank you in advance for your generosity!
wribit
wribit is offline
wribit
Member
Join Date: Jan 2015
Old 04-14-2015 , 15:05   Re: [INS] SpecDetails
Reply With Quote #12

SpecDetails V3!

When you die and become a spectator, this plugin will display a panel on the left with details about the person you are spectating.

Two commands are present as of V3: spec_details_on and spec_details_off. In using these commands to close the details panel, admins will now be able to access the admin menu.

Details shown:
  • Name
  • Weapon (current weapon being used.)
  • Kills (Number of kills during the current round.) * not counting friendly kills
  • Deaths (Number of deaths during the current round.) * not counting friendly deaths
  • Health
These details will update as the round goes on, and will reset at the end of the round.

Update information
V. 2 - Fixed a bug where in PvP modes, the K/D counts weren't adding up
V. 3 - Added two commands, spec_details_on and spec_details_off accessible only by admins with slaying powers.

Cvars


The cvars are found in the plugin.SpecDetails.cfg file in the sourcemod folder, under insurgency/cfg.

sm_specDetails_enabled : 1 to enable, 0 to disable

Commands

spec_details_off: Allows an admin to turn off the spec detail panel in order to access the admin menu.
spec_details_on: Will relaunch the details panel for the admin who runs it.

These get reset at every death. Meaning, if you turn off the display to access the menu and spawn while the details panel is off - once you die again, the panel will be back.

IMPORTANT!!
Be advised that if you have a previous version of SpecDetails installed - it is important to completely uninstall the previous version before installing this new one.
Attached Files
File Type: sp Get Plugin or Get Source (SpecDetails3.sp - 489 views - 7.5 KB)
__________________
If you wish to show your appreciation for the time and effort I put in these plugins, please click the button below to make a donation.

[IMG]http://s1.************/hxzfirnu3/donate.gif[/IMG]

Thank you in advance for your generosity!
wribit

Last edited by wribit; 04-14-2015 at 15:23. Reason: Important install notice
wribit is offline
ltgenkd
AlliedModders Donor
Join Date: Sep 2008
Old 04-14-2015 , 16:56   Re: [INS] SpecDetails
Reply With Quote #13

Added you on Steam. Looks like Kills/Deaths still at 0.
Have a demo or you can see it in action. On our 24/7 Sinjar Server.

connect 100.34.102.92:27017

__________________
ltgenkd is offline
wribit
Member
Join Date: Jan 2015
Old 04-14-2015 , 18:36   Re: [INS] SpecDetails
Reply With Quote #14

Quote:
Originally Posted by ltgenkd View Post
Added you on Steam. Looks like Kills/Deaths still at 0.
Have a demo or you can see it in action. On our 24/7 Sinjar Server.

After visiting the server, I determined it was still running V.1.1 of the SpecDetails plugin. Once the plugin was updated to the latest version, it worked as intended.
__________________
If you wish to show your appreciation for the time and effort I put in these plugins, please click the button below to make a donation.

[IMG]http://s1.************/hxzfirnu3/donate.gif[/IMG]

Thank you in advance for your generosity!
wribit
wribit is offline
`666
AlliedModders Donor
Join Date: Jan 2006
Old 09-12-2015 , 04:37   Re: [INS] SpecDetails
Reply With Quote #15

Thanks.
`666 is offline
SHOUBI
Junior Member
Join Date: Aug 2017
Old 02-04-2018 , 11:49   Re: [INS] SpecDetails
Reply With Quote #16

L 02/04/2018 - 17:59:10: [SM] Exception reported: Client index 0 is invalid
L 02/04/2018 - 17:59:10: [SM] Blaming: SpecDetails3.smx()
L 02/04/2018 - 17:59:10: [SM] Call stack trace:
L 02/04/2018 - 17:59:10: [SM] [0] GetClientTeam
L 02/04/2018 - 17:59:10: [SM] [1] Line 55, /home/forums/content/files/2/5/7/9/6/4/144197.attach::EventPlayerDeath()
L 02/04/2018 - 17:59:15: [SM] Exception reported: Client index 0 is invalid
L 02/04/2018 - 17:59:15: [SM] Blaming: SpecDetails3.smx()
L 02/04/2018 - 17:59:15: [SM] Call stack trace:
L 02/04/2018 - 17:59:15: [SM] [0] GetClientTeam
L 02/04/2018 - 17:59:15: [SM] [1] Line 55, /home/forums/content/files/2/5/7/9/6/4/144197.attach::EventPlayerDeath()



fix for this issue: https://drive.google.com/drive/folde...ys?usp=sharing

Last edited by SHOUBI; 02-20-2018 at 13:02.
SHOUBI is offline
Akaris
New Member
Join Date: Jun 2012
Old 04-06-2021 , 22:37   Re: [INS] SpecDetails
Reply With Quote #17

Quote:
Originally Posted by SHOUBI View Post
Hey! I know I'm late to the party but, do you still have the fix? the link is not working anymore.

Thanks in advance.
Akaris 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 07:52.


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