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

[CS:GO] prevent round restart


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
abckrieger
Senior Member
Join Date: Oct 2012
Location: Germany
Old 09-29-2013 , 20:47   [CS:GO] prevent round restart
Reply With Quote #1

hi,

i have set mp_ignore_round_win_conditions to 1 but if for example 4 players are on ct team and after x mins joins somebody to t team then the round just restarts.. can i catch and block that restart?
abckrieger is offline
blaacky
Senior Member
Join Date: Oct 2012
Old 09-29-2013 , 23:11   Re: [CS:GO] prevent round restart
Reply With Quote #2

I'd like to know how to do this too.
blaacky is offline
t.sang
AlliedModders Donor
Join Date: Jun 2012
Location: Russia
Old 09-29-2013 , 23:52   Re: [CS:GO] prevent round restart
Reply With Quote #3

try this
PHP Code:
#include <cstrike>

public Action:CS_OnTerminateRound(&Float:delay, &CSRoundEndReason:reason)
{
    return 
Plugin_Handled


Last edited by t.sang; 09-29-2013 at 23:53.
t.sang is offline
abckrieger
Senior Member
Join Date: Oct 2012
Location: Germany
Old 09-30-2013 , 10:08   Re: [CS:GO] prevent round restart
Reply With Quote #4

thx!
abckrieger is offline
Clarkey
Junior Member
Join Date: Jun 2014
Old 06-17-2014 , 14:06   Re: [CS:GO] prevent round restart
Reply With Quote #5

If you are a noob like me and have no idea what to do with that code this should help!
Attached Files
File Type: smx joinrestartproblem.smx (2.5 KB, 323 views)
File Type: txt roundrestartproblem.txt (130 Bytes, 267 views)

Last edited by Clarkey; 06-19-2014 at 13:14.
Clarkey is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 06-17-2014 , 14:50   Re: [CS:GO] prevent round restart
Reply With Quote #6

Quote:
Originally Posted by Clarkey View Post
If you are a noob like me and have no idea what to do with that code this should help!
Post up the source.
Drixevel is offline
TheWho
AlliedModders Donor
Join Date: Jul 2012
Old 06-18-2014 , 13:21   Re: [CS:GO] prevent round restart
Reply With Quote #7

Quote:
Originally Posted by r3dw3r3w0lf View Post
Post up the source.
Lysis.

PHP Code:
public Action:CS_OnTerminateRound(&Float:delay, &CSRoundEndReason:reason)
{
    return 
Action:3;

TheWho 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 02:34.


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