View Single Post
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 09-22-2011 , 04:37   Re: [CSS] Jihad Suicide Bomb (.94)
Reply With Quote #7

I found a quick way of defeating it.
if T's are only allowed to purchase the jihad bomb in the sm_jihadmod.cfg file.

// Sets how many CTs may carry a bomb at once.
// -
// Default: "0"
sm_jihad_bomblimitct "0"



Find this in the sm_jihad-fix.sp file
replace canBuyBombT with canBuyBombCT
It basically only checks for CT's


Code:
            {
                //Only care about T's and CT's
                new Team:team = Team:GetClientTeam(i);
                switch (team)
                {
                    case 3: //CT
                    {
                        if (canBuyBombCT == 1)
                        {
                            ShowBuyMenu(i);
                        }
                    }
                    case 2: //T
                    {
                        if (canBuyBombT == 1)
                        {
                            ShowBuyMenu(i);
                        }
                    }
                }
            }
Replace with
Code:
            {
                //Only care about T's and CT's
                new Team:team = Team:GetClientTeam(i);
                switch (team)
                {
                    case 3: //CT
                    {
                        if (canBuyBombCT == 1)
                        {
                            ShowBuyMenu(i);
                        }
                    }
                    case 2: //T
                    {
                        if (canBuyBombCT == 1)
                        {
                            ShowBuyMenu(i);
                        }
                    }
                }
            }
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!



Last edited by nightrider; 09-22-2011 at 04:39.
nightrider is offline