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

[CSGO] Simple Spawn NoBlock


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dzej dzej
Junior Member
Join Date: May 2012
Location: Chełm, Poland
Plugin ID:
3285
Plugin Version:
1.4
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Plugin change mp_solid_teammates cvar at round start.
    Old 10-11-2012 , 12:05   [CSGO] Simple Spawn NoBlock
    Reply With Quote #1

    Spawn NoBlock for csgo.
    Plugin version is 1.4
    Plugin change mp_solid_teammates cvar at round start.
    It's my first plugin

    cvars:
    Code:
    // plugin enable
    // -
    // Default: "1.0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_snb "1.0"
    
    // Frendlyfire disable on spawn? If server cvar ff is 0 set it to 0
    // -
    // Default: "1.0"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    sm_snb_ff "0"
    
    // Spawn NoBlock time.
    // -
    // Default: "10.0"
    // Minimum: "1.000000"
    sm_snb_time "10.0"
    Changelog:
    Version 1.1
    -Added timer with mp_freeztime value (plugin start timer at end of freeztime).
    -Fixed stuck at end of NoBlock time. Players are push away so they cant stuck on each other.
    -Added green color to announce when NoBlock ends. It's more visible now.
    -Adde option to turn off frendlyfire during NoBlock time (i added this because i need that on my server).

    Version 1.2
    -Fixed bug with frendlyfire. When server has ff default set to 0 plugin changed it to 1. Now its fixed.
    -Added translation file. (maybe its not long, but added).

    Version 1.3
    -Fixed error with player pushaway. Earlier plugin push each player all time. Now its fixed.

    Version 1.4
    -Optimized code. Less timers
    -Deleted version number from cfg.
    Attached Files
    File Type: txt snb.phrases.txt (236 Bytes, 3249 views)
    File Type: sp Get Plugin or Get Source (spawn_noblock_csgo.sp - 6846 views - 3.8 KB)
    __________________
    [IMG]http://**************/a/img594/6097/14568e76ec678c83d1c0.jpg[/IMG]

    Last edited by dzej dzej; 01-01-2013 at 14:13. Reason: New version of plugin.
    dzej dzej is offline
    ecca
    Sexy Santa
    Join Date: Jan 2011
    Old 10-11-2012 , 12:20   Re: Simple Spawn NoBlock
    Reply With Quote #2

    Well , here is some suggestions.

    Instead of cvar sm_snb_time you could use FindConvar and then use the findconvar with mp_freezetime which should get the value. Then just create your time. Else it's a simple plugin
    ecca is offline
    dzej dzej
    Junior Member
    Join Date: May 2012
    Location: Chełm, Poland
    Old 10-11-2012 , 12:30   Re: Simple Spawn NoBlock
    Reply With Quote #3

    Great suggestion, thanks. I'll work on it later.
    dzej dzej is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 10-11-2012 , 13:59   Re: Simple Spawn NoBlock
    Reply With Quote #4

    What happens if the no block gets set to 0 when there are two players occupying the same place?
    __________________
    View my Plugins | Donate
    TnTSCS is offline
    dzej dzej
    Junior Member
    Join Date: May 2012
    Location: Chełm, Poland
    Old 10-11-2012 , 15:13   Re: Simple Spawn NoBlock
    Reply With Quote #5

    I had such a situation. I get stuck, but after a while i was unblocked
    dzej dzej is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 10-11-2012 , 15:22   Re: Simple Spawn NoBlock
    Reply With Quote #6

    Similar of this https://forums.alliedmods.net/showthread.php?t=196450

    I should have been quick to put it in the plugins section
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    zipcore
    Veteran Member
    Join Date: Mar 2010
    Location: m_flZipcore
    Old 10-11-2012 , 16:54   Re: Simple Spawn NoBlock
    Reply With Quote #7

    It's Magic
    Code:
    collision_group_pushaway 17

    Last edited by zipcore; 10-11-2012 at 17:01.
    zipcore is offline
    dzej dzej
    Junior Member
    Join Date: May 2012
    Location: Chełm, Poland
    Old 10-23-2012 , 07:12   Re: Simple Spawn NoBlock
    Reply With Quote #8

    I added new version of plugin. See changelog.
    dzej dzej is offline
    Cain
    SourceMod Donor
    Join Date: May 2005
    Location: South Carolina, USA
    Old 10-29-2012 , 17:36   Re: [CSGO] Simple Spawn NoBlock
    Reply With Quote #9

    thank you ...
    Cain is offline
    Padovski
    SourceMod Donor
    Join Date: Oct 2012
    Location: Ireland
    Old 11-03-2012 , 18:11   Re: [CSGO] Simple Spawn NoBlock
    Reply With Quote #10

    Dzieki wielkie
    Padovski 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 09:56.


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