Raised This Month: $ Target: $400
 0% 

No C4 crash


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 09-20-2015 , 15:05   Re: No C4 crash
Reply With Quote #5

Quote:
Originally Posted by HamletEagle View Post
Delete func_bomb_target & info_bomb_target entities, bomb won't be given again. When RestartRound is called there is a check for m_bMapHasBombTarget. If true GiveC4 is called, otherwise no one get the bomb. m_bMapHasBombTarget is filled like:
PHP Code:
if (UTIL_FindEntityByClassname(NULL"func_bomb_target") != NULL)
    {
        
m_bMapHasBombTarget true;
        
m_bMapHasBombZone   true;
    }
    else if (
UTIL_FindEntityByClassname(NULL"info_bomb_target") != NULL)
    {
        
m_bMapHasBombTarget true;
        
m_bMapHasBombZone   false;
    }
    else
    {
        
m_bMapHasBombTarget false;
        
m_bMapHasBombZone   false;
    } 
So you see, removing them make the trick.
Show me how to delete these 2 targets because i tried but bomb is given .

Last edited by siriusmd99; 09-20-2015 at 15:09.
siriusmd99 is offline
 



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 22:06.


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