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

[CS:GO] SpecList


Post New Thread Reply   
 
Thread Tools Display Modes
Author
cra88y
AlliedModders Donor
Join Date: Dec 2016
Plugin ID:
6140
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Plugin to display people spectating the current player.
    Old 05-27-2018 , 14:03   [CS:GO] SpecList
    Reply With Quote #1

    SpecList for CS:GO

    This plugin uses the flags ADMFLAG_UNBAN and ADMFLAG_CUSTOM1 to give those tags special colors when spectating. Also has command sm_stealth to be hidden completely from the speclist. There are no cvars to easily change the colors or permission flags, but it is easy to change within the code. (change the checked flags in IsPlayerAdmin() & IsPlayerVip())

    Here's an example of what it looks like in game: https://imgur.com/UtMRIM1

    To install just drop the smx in your plugins folder

    Changes:
    - 05.27.2018 (v1.0) initial
    - 06.09.2019 (v1.1)

    This was written a long time ago, I know the code could be a lot cleaner, I just have no interest in redoing it as it works as is.
    First release of anything so if I did anything wrong my bad.
    Attached Files
    File Type: sp Get Plugin or Get Source (speclist.sp - 2486 views - 6.3 KB)

    Last edited by cra88y; 06-09-2019 at 18:42.
    cra88y is offline
    shanapu
    Veteran Member
    Join Date: Apr 2015
    Location: .de
    Old 05-27-2018 , 14:29   Re: [CS:GO] SpecList
    Reply With Quote #2

    Quote:
    Originally Posted by cra88y View Post
    Decided to just release this after seeing this thread of some guy releasing this plugin I did for him privately.
    Quote:
    Originally Posted by Strech View Post
    ... I have a current plugin like this, except it was coded private and did not come with a .sp file to look into the contents. ...
    So you shared/sold a sourcemod plugin without the source (.sp)?
    You should definitely take a look at this https://www.sourcemod.net/license.php
    __________________
    coding & free software

    Last edited by shanapu; 05-27-2018 at 14:30.
    shanapu is offline
    cra88y
    AlliedModders Donor
    Join Date: Dec 2016
    Old 05-27-2018 , 14:35   Re: [CS:GO] SpecList
    Reply With Quote #3

    No I offered it (multiple times actually) and he did not want it. At the time of posting that I guess he had no interest in contacting me. There was also no malicious intent, as he knew about the perms stuff in the plugin.

    Last edited by cra88y; 05-27-2018 at 14:43.
    cra88y is offline
    Teddwarrd
    Junior Member
    Join Date: Feb 2019
    Old 02-24-2019 , 02:20   Re: [CS:GO] SpecList
    Reply With Quote #4

    Is there a way to make the flag custom or kick permissions. It seems to only work with the z flag and I can't give lower positioned staff the z flag as I do not trust them.
    Teddwarrd is offline
    cra88y
    AlliedModders Donor
    Join Date: Dec 2016
    Old 06-09-2019 , 18:39   Re: [CS:GO] SpecList
    Reply With Quote #5

    Updated version (v1.1) to fix GOTV showing bug, make it easier to decide who gets admin/vip colors, and a few misc fixes.

    in configs/admin_overrides.cfg:
    Code:
    Overrides
    {
            "spec_vip"      "o"	//custom1 flag for vip colors on speclist
    	"spec_admin"	"d"	//ban flag for admin colors on speclist
    	"sm_stealth"	"d"	//ban flag to use stealth
    }

    If you want to use custom colors just edit the .sp where it says "color='#21618C'" in the four places.
    Attached Files
    File Type: sp Get Plugin or Get Source (speclist.sp - 968 views - 6.3 KB)

    Last edited by cra88y; 06-09-2019 at 18:40.
    cra88y is offline
    aykocity
    Member
    Join Date: Sep 2017
    Old 06-10-2019 , 02:59   Re: [CS:GO] SpecList
    Reply With Quote #6

    compile error
    help pls..

    Quote:
    include\sdktools_functions.inc(102) : error 147: new-style declarations are required
    aykocity is offline
    Cruze
    Veteran Member
    Join Date: May 2017
    Old 06-10-2019 , 05:37   Re: [CS:GO] SpecList
    Reply With Quote #7

    Quote:
    Originally Posted by aykocity View Post
    compile error
    help pls..
    update your sourcemod includes
    __________________
    Taking paid private requests! Contact me
    Cruze is offline
    Chapp
    Junior Member
    Join Date: Dec 2018
    Old 06-10-2019 , 07:27   Re: [CS:GO] SpecList
    Reply With Quote #8

    When a player press TAB he see me on the spectator , i used the command sm_stealth but no effect...
    __________________

    Last edited by Chapp; 06-10-2019 at 07:27.
    Chapp is offline
    cra88y
    AlliedModders Donor
    Join Date: Dec 2016
    Old 06-14-2019 , 11:33   Re: [CS:GO] SpecList
    Reply With Quote #9

    Quote:
    Originally Posted by Chapp View Post
    When a player press TAB he see me on the spectator , i used the command sm_stealth but no effect...

    It’s for the plugin’s spectator list, not the game’s.. the point being it’s not apparent that you’re spectating a specific person. I believe there are plugins to hide from the games scoreboard as well, that’s not what this plugin is for.
    __________________
    cra88y#6386 for paid requests | Support
    cra88y is offline
    zauni
    New Member
    Join Date: Nov 2019
    Old 11-23-2019 , 22:58   Re: [CS:GO] SpecList
    Reply With Quote #10

    yoooo

    the plugin is really useful and it works wonders

    im not sure if you take requests, but i tried to add one more flag(mod), making it 3 flags but i ran into some problems(i can compile it fine but mods still doens't have a custom color)

    this is what i tried


    ty
    Attached Files
    File Type: sp Get Plugin or Get Source (Qspeclist.sp - 696 views - 6.8 KB)
    zauni 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 17:23.


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