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

Respawn plugin but with timer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Davidwagner
Junior Member
Join Date: Jan 2018
Old 11-01-2022 , 17:20   Respawn plugin but with timer
Reply With Quote #1

Hello,is there a plugin or can someone help me with a respawn plugin with respawn delay\timer?
When u die u get respawn in 15seconds as a default player and as a vip\admin in 5 sec. If is possible with cvar and message until respawn? Thank you
Davidwagner is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 11-01-2022 , 20:12   Re: Respawn plugin but with timer
Reply With Quote #2

I will assume ur talking about css/csgo, and I'm sure there are multiple plugins that can do the job

but anyway, I made this for you, and its "Untested" since I dont own a csgo server.

Commands:
sm_respawn <#userid|name>

Convars:
PHP Code:
// This file was auto-generated by SourceMod (v1.11.0.6884)
// ConVars for plugin "CS_Respawner.smx"


// Enable The Respawner Plugin (0 = Disable, 1 = Enable).
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
cs_respawner_plugin_enable "1"

// Set The Required Flag For VIP Players (Empty Will Make All Players VIP).
// -
// Default: "o"
cs_respawner_vip_flag "o"

// Set The Respawn Timer For Regular Players (In Seconds).
// -
// Default: "15"
cs_respawner_regular_timer "15"

// Set The Respawn Timer For VIP/Admin Players (In Seconds).
// -
// Default: "5"
cs_respawner_special_timer "5"

// Ignore Winning Rounds, Making It Infinite (Restart Map Is Required To Take Effect).
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
cs_respawner_ignore_winning "1"

// Enable Respawn Countdown Announcement (0 = Disable, 1 = Chat, 2 = Hint, 3 = Central).
// -
// Default: "2"
// Minimum: "0.000000"
// Maximum: "3.000000"
cs_respawner_announcement_type "2" 
Attached Files
File Type: sp Get Plugin or Get Source (CS_Respawner.sp - 71 views - 5.9 KB)
__________________

Last edited by alasfourom; 11-04-2022 at 00:50.
alasfourom is offline
Davidwagner
Junior Member
Join Date: Jan 2018
Old 11-02-2022 , 13:58   Re: Respawn plugin but with timer
Reply With Quote #3

just a problem. if players that join after the round start they won't get respawned.
you need to be since roundstart or you won;t get respawn.

Last edited by Davidwagner; 11-02-2022 at 14:54.
Davidwagner is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 11-02-2022 , 20:17   Re: Respawn plugin but with timer
Reply With Quote #4

Give it a try now, I updated it "Untested"
__________________
alasfourom is offline
Davidwagner
Junior Member
Join Date: Jan 2018
Old 11-03-2022 , 04:56   Re: Respawn plugin but with timer
Reply With Quote #5

Thanks. One more thing. The round ends if the last one alive dies. When for example there are 1vs1 or 1v2 and the 1guy dies the round ends. Is there a cvar or it needs to be in the plugin so that the round won t end if all players from a team dies
Davidwagner is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 11-03-2022 , 10:53   Re: Respawn plugin but with timer
Reply With Quote #6

Updated to 1.2 > Added new cvar
__________________
alasfourom is offline
Davidwagner
Junior Member
Join Date: Jan 2018
Old 11-03-2022 , 13:04   Re: Respawn plugin but with timer
Reply With Quote #7

thank you, works perfect
Davidwagner 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 07:33.


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