Raised This Month: $ Target: $400
 0% 

CSS BRush


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Lordearon
Member
Join Date: Jan 2013
Location: Vietnam
Old 11-16-2013 , 02:46   Re: CSS BRush
Reply With Quote #11

Quote:
Originally Posted by TnTSCS View Post
I'll look at the bombsite index part again, but I thought clients passed through OnClientConnected on map changes...
it's strange, but first time joining the server it works, changing the map (sm_map) to same or different map and it doesn't work anymore. (plant area is not dissabled) - also I don't think you call this code to disable the right bombsite when the bombsite convar is changed.

Quote:
Also, the entire Event_BeginBombPlant is not running... it has
#if 0
// ... Event_BeginBombPlant function here
#endif
in my latest gist? maybe, as I didn't want the "you must plant at ..." messages to appear anymore on the maps that only have 1 bombsite anyway.. though, I tested without having the functions disabled as well...

Quote:
This is the code that handles dropping the bomb before a T is moved to CT:
PHP Code:
    // Let's drop the bomb prior to player team movement so a CT doesn't end up with the bomb
    
if (the_bomb MaxClients && IsValidEntity(the_bomb))
    {
        new 
bomb_owner Weapon_GetOwner(the_bomb);
        
        if (
bomb_owner != INVALID_ENT_REFERENCE)
        {
            
CS_DropWeapon(bomb_ownerthe_bombfalse);
        }
    } 
didn't seem to work when we were playtesting, I sometimes had the bomb and when a friend choose me to move to CT, I kept the bomb, the bomb wasn't dropped, I guess csgo handles the bomb dropping quite differently?

EDIT: maybe because I have sm_brush_fastround to 1 as I noticed last time, I was T, the plugin forced me to drop the bomb, then the round restarted (I got the bomb again) and I was switched to CT side?

Last edited by Lordearon; 11-16-2013 at 07:12.
Lordearon 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 18:28.


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