Raised This Month: $ Target: $400
 0% 

deleted - no more needed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
iskenderkebab33
Senior Member
Join Date: Jun 2018
Old 08-07-2018 , 03:39   deleted - no more needed
Reply With Quote #1

deleted - no more needed

Last edited by iskenderkebab33; 08-30-2018 at 06:31. Reason: no more needed
iskenderkebab33 is offline
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 08-07-2018 , 09:33   Re: [CS:GO] do not end round when bomb detonated, t need plant two times to win round
Reply With Quote #2

PHP Code:

#include <sourcemod>
#include <cstrike>

bool g_Planted;

public 
void OnPluginStart()
{
    
HookEvent("round_prestart"Event_RoundPreStart);
}

public 
Action Event_RoundPreStart(Event event, const char[] namebool dontBroadcast)
{    
    
g_Planted false;
}

public 
Action CS_OnTerminateRound(floatdelayCSRoundEndReasonreason

    if(
reason == CSRoundEnd_TerroristsPlanted
    {
        if(
g_Planted)
        {
            return 
Plugin_Handled
        }
        else
        {
            
g_Planted true;
        }
    } 

    return 
Plugin_Continue

I don't know if the csgo will end the round when you plant a second time. And i don't know if the roundtime will be restarted or frozen.

And someone should receive a bomb after the detonation ...

And why terrorists need to plant 2 times? Just change the mp_c4time cvar from 45 to 90

Last edited by Ilusion9; 08-07-2018 at 09:33.
Ilusion9 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 21:16.


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