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

[CS:S] No Late Spawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Plugin ID:
2525
Plugin Version:
1.3
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    9 
    Plugin Description:
    Will not allow new players to spawn after X number of seconds after round_start
    Old 08-29-2011 , 20:55   [CS:S] No Late Spawn
    Reply With Quote #1

    DESCRIPTION:
    This plugin will restrict any "new" players from joining a game after a configurable amount of seconds after the round_start event has fired. You can include the mp_freezetime in this time limit as well.

    This was originally a request to disallow any new players immediately after round_start fired, but I think it would be more useful to include a time limit after round_start instead of immediately after.

    I know the game itself disallows spawning after, I think 15-20 seconds, but maybe you don't want people joining after mp_freezetime + 5-10 extra seconds.

    CVARS:
    sm_nolatespawn_enabled 0/1
    sm_nolatespawn_freeze 0/1
    sm_nolatespawn_time 0/15

    To enable the plugin, set sm_nolatespawn_enabled "1"

    To include the mp_freezetime to be additional seconds added to sm_nolatespawn_time, set sm_nolatespawn_freeze "1"

    set sm_nolatespawn_time to how many seconds you want to allow new players to spawn into the game, after this time, they will not be allowed.

    To set this plugin to not allow late spawns immediately after round_start fires, set sm_nolatespawn_freeze "0" and sm_nolatespawn_time "0.0"

    When a player attempts to spawn into the game after the allowed spawn time has expired, they will be forced suicide and their scores (frags/deaths) will not be affected.

    CREDITS:
    nikedu45 for the request and idea

    Known Bugs:
    None that I know of - post them here if you find any.

    If more seasoned programmers gander at this and see improvements, don't be shy :)

    INSTALLATION:
    - Put the NoLateSpawn.smx file in your cstrike/addons/sourcemod/plugins folder

    - Put the NoLateSpawh.phrases.txt file in your cstrike/addons/sourcemod/translation folder.

    - Put the plugin.NoLateSpawn.cfg in the cstrike/cfg/sourcemod folder (or let the plugin auto create the config file for you).

    CHANGE LOG:
    Version 1.0 - 1.2
    -- original release and updated code - see http://forums.alliedmods.net/showthread.php?t=165145 for more details

    Version 1.3
    -- Added timer functionality to allow for "latish" spawns.
    Attached Files
    File Type: sp Get Plugin or Get Source (NoLateSpawn.sp - 2436 views - 4.5 KB)
    File Type: txt NoLateSpawn.phrases.txt (119 Bytes, 1426 views)
    File Type: cfg plugin.NoLateSpawn.cfg (796 Bytes, 771 views)
    TnTSCS is offline
    nikedu45
    Senior Member
    Join Date: May 2011
    Old 09-18-2011 , 06:11   Re: [CS:S] No Late Spawn
    Reply With Quote #2

    Good job !
    __________________
    Bl4ck-And-White.fr
    I'm French !!
    nikedu45 is offline
    Shit on shoe
    Senior Member
    Join Date: Jul 2010
    Old 09-18-2011 , 22:37   Re: [CS:S] No Late Spawn
    Reply With Quote #3

    Damn
    i was waiting for this plugin perfect, i have GG server but not DM.

    thx dude
    __________________
    Shit on shoe is offline
    4bdul
    AlliedModders Donor
    Join Date: Dec 2011
    Location: United Kingdom
    Old 03-09-2012 , 09:50   Re: [CS:S] No Late Spawn
    Reply With Quote #4

    Perhaps add a way to respawn if they teamswitch (but only once) within the timeframe?
    4bdul is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 06-27-2013 , 17:31   Re: [CS:S] No Late Spawn
    Reply With Quote #5

    By request I've increased the value for the CVar sm_nolatespawn_time
    Attached Files
    File Type: smx NoLateSpawn.smx (8.3 KB, 393 views)
    File Type: sp Get Plugin or Get Source (NoLateSpawn.sp - 385 views - 4.3 KB)
    __________________
    View my Plugins | Donate
    TnTSCS is offline
    Hydrozilla
    Member
    Join Date: Apr 2006
    Location: NY
    Old 11-26-2014 , 12:40   Re: [CS:S] No Late Spawn
    Reply With Quote #6

    Ive done alot of searches to find a way to keep players from joining so late in the round in our CSS server. I think I tried this pluggin a few months ago but didnt like that it slays players. Any way to disable the slay and just keep them from spawning until the next round?

    Last edited by Hydrozilla; 11-26-2014 at 12:41.
    Hydrozilla is offline
    zapparncsgo
    Senior Member
    Join Date: Dec 2014
    Old 01-11-2015 , 14:24   Re: [CS:S] No Late Spawn
    Reply With Quote #7

    does this work for csgo?
    zapparncsgo 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 00:29.


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