Raised This Month: $9 Target: $400
 2% 

[CSS/CSGO] Shot Administration


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Plugin ID:
5386
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Remake of https://forums.alliedmods.net/showthread.php?p=577578
    Old 10-25-2016 , 11:06   [CSS/CSGO] Shot Administration
    Reply With Quote #1

    This is a remake of https://forums.alliedmods.net/showthread.php?p=577578.
    Commands :
    Require ADMFLAG_CHEATS :

    sm_sadministration - Set the shot administration mode on a player.
    sm_sa - same as above.
    Attached Files
    File Type: sp Get Plugin or Get Source (ShotAdministration.sp - 232 views - 4.9 KB)
    File Type: smx ShotAdministration.smx (16.3 KB, 235 views)
    __________________
    Want to show support ?
    Want to check my plugins ?
    Total donation count : 330,98 ChF.- (in 3+ years)

    Last edited by Arkarr; 07-06-2018 at 14:37.
    Arkarr is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 10-25-2016 , 13:19   Re: [CSS/CSGO] Shot Administration
    Reply With Quote #2

    According to the remake U_SUICIDER should also add the headshot damage type.
    __________________
    Mitchell is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 10-25-2016 , 14:28   Re: [CSS/CSGO] Shot Administration
    Reply With Quote #3

    Quote:
    Originally Posted by Mitchell View Post
    According to the remake U_SUICIDER should also add the headshot damage type.
    I don't know how to do that D: ! Help ?
    __________________
    Want to show support ?
    Want to check my plugins ?
    Total donation count : 330,98 ChF.- (in 3+ years)
    Arkarr is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 10-25-2016 , 14:40   Re: [CSS/CSGO] Shot Administration
    Reply With Quote #4

    Quote:
    Originally Posted by Arkarr View Post
    I don't know how to do that D: ! Help ?
    I get what you mean, I'd probably replace SlapPlayer with SDKHooks_TakeDamage
    SlapPlayer actually does the suicide (kill) command on the player if their health reaches below 0, with TakeDamage you can send the weapon and damagetype with it to give a fancier death notice.
    __________________

    Last edited by Mitchell; 10-25-2016 at 14:40.
    Mitchell is offline
    alex123pavlov
    Member
    Join Date: Jun 2018
    Location: Moscow
    Old 07-05-2018 , 20:11   Re: [CSS/CSGO] Shot Administration
    Reply With Quote #5

    L 07/06/2018 - 02:485: [SM] Blaming: ShotAdministration.smx
    L 07/06/2018 - 02:485: [SM] Call stack trace:
    L 07/06/2018 - 02:485: [SM] [0] CloseHandle
    L 07/06/2018 - 02:485: [SM] [1] Line 176, D:\1 Server Fortnite\cstrike\addons\sourcemod\scripting\S hotAdministration.sp::MenuHandler_ChangePlaye rMode
    L 07/06/2018 - 03:06:12: [SM] Exception reported: Client index 0 is invalid
    alex123pavlov is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 07-06-2018 , 06:22   Re: [CSS/CSGO] Shot Administration
    Reply With Quote #6

    Quote:
    Originally Posted by alex123pavlov View Post
    L 07/06/2018 - 02:485: [SM] Blaming: ShotAdministration.smx
    L 07/06/2018 - 02:485: [SM] Call stack trace:
    L 07/06/2018 - 02:485: [SM] [0] CloseHandle
    L 07/06/2018 - 02:485: [SM] [1] Line 176, D:\1 Server Fortnite\cstrike\addons\sourcemod\scripting\S hotAdministration.sp::MenuHandler_ChangePlaye rMode
    L 07/06/2018 - 03:06:12: [SM] Exception reported: Client index 0 is invalid
    Thanks for bug report, it's fixed.
    __________________
    Want to show support ?
    Want to check my plugins ?
    Total donation count : 330,98 ChF.- (in 3+ years)
    Arkarr is offline
    Rodya
    Senior Member
    Join Date: Mar 2017
    Location: Russia
    Old 07-06-2018 , 09:36   Re: [CSS/CSGO] Shot Administration
    Reply With Quote #7

    Plugin failed to compile! Please try contacting the author.
    __________________

    Rodya is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 07-06-2018 , 10:43   Re: [CSS/CSGO] Shot Administration
    Reply With Quote #8

    Quote:
    Originally Posted by Rodya View Post
    Plugin failed to compile! Please try contacting the author.
    Oh shit. I'll upload the compilled bianries soon!
    __________________
    Want to show support ?
    Want to check my plugins ?
    Total donation count : 330,98 ChF.- (in 3+ years)
    Arkarr is offline
    Rodya
    Senior Member
    Join Date: Mar 2017
    Location: Russia
    Old 07-06-2018 , 12:11   Re: [CSS/CSGO] Shot Administration
    Reply With Quote #9

    Quote:
    Originally Posted by Arkarr View Post
    Oh shit. I'll upload the compilled bianries soon!
    i wait ;3
    __________________

    Rodya is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 07-06-2018 , 14:37   Re: [CSS/CSGO] Shot Administration
    Reply With Quote #10

    Quote:
    Originally Posted by Rodya View Post
    i wait ;3
    Done !
    __________________
    Want to show support ?
    Want to check my plugins ?
    Total donation count : 330,98 ChF.- (in 3+ years)
    Arkarr 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 17:28.


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