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

Join Spectators


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Munoon
Member
Join Date: Jul 2018
Location: www.Train4Game.com
Plugin ID:
6604
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 06-15-2019 , 14:23   Join Spectators
    Reply With Quote #1

    Join Spectators
    Sourcemod plugin that join player to spectators.

    Installation
    1. Put joinspectators.smx to addons/sourcemod/plugins folder.
    2. Put joinspectators.sp to addons/sourcemod/scripting folder.
    3. Restart server or send command sm plugins load joinspectators.
    4. Customize config in cfg/sourcemod/join_spectators.cfg.

    Variables
    • sm_js_enable - is plugin enabled.
    • sm_js_movefrom - count of players that require to move player to spectators.

    Requirements
    • CS:GO Dedicated Server
    • Sourcemod
    • Metamod

    GITHUB
    Attached Files
    File Type: sp Get Plugin or Get Source (joinspectators.sp - 586 views - 904 Bytes)

    Last edited by Munoon; 06-23-2019 at 04:56.
    Munoon is offline
    wakedb
    Member
    Join Date: Dec 2019
    Location: unknwn
    Old 03-22-2020 , 14:02   Re: Join Spectators
    Reply With Quote #2

    The player is not able to join any of the two teams if he was automatically sent to spec. Any ideas how to fix this?
    __________________
    wakedb is offline
    Ilusion9
    Veteran Member
    Join Date: Jun 2018
    Location: Romania
    Old 03-22-2020 , 16:50   Re: Join Spectators
    Reply With Quote #3

    Because he changes their teams too early (in OnClientPutInServer).
    Use player_connect_full event with a timer of 2 seconds.
    __________________
    Ilusion9 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 02:36.


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