AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSGO] Simple Spawn NoBlock (https://forums.alliedmods.net/showthread.php?t=198085)

dzej dzej 10-11-2012 12:05

[CSGO] Simple Spawn NoBlock
 
2 Attachment(s)
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.

ecca 10-11-2012 12:20

Re: Simple Spawn NoBlock
 
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

dzej dzej 10-11-2012 12:30

Re: Simple Spawn NoBlock
 
Great suggestion, thanks. I'll work on it later.

TnTSCS 10-11-2012 13:59

Re: Simple Spawn NoBlock
 
What happens if the no block gets set to 0 when there are two players occupying the same place?

dzej dzej 10-11-2012 15:13

Re: Simple Spawn NoBlock
 
I had such a situation. I get stuck, but after a while i was unblocked

Franc1sco 10-11-2012 15:22

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

I should have been quick to put it in the plugins section :lol:

zipcore 10-11-2012 16:54

Re: Simple Spawn NoBlock
 
It's Magic :D
Code:

collision_group_pushaway 17

dzej dzej 10-23-2012 07:12

Re: Simple Spawn NoBlock
 
I added new version of plugin. See changelog.

Cain 10-29-2012 17:36

Re: [CSGO] Simple Spawn NoBlock
 
thank you ...

Padovski 11-03-2012 18:11

Re: [CSGO] Simple Spawn NoBlock
 
Dzieki wielkie :D


All times are GMT -4. The time now is 07:28.

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