Raised This Month: $ Target: $400
 0% 

Unblocking buying defuser on other maps than de_ prefix


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-21-2015 , 09:41   Re: Unblocking buying defuser on other maps than de_ prefix
Reply With Quote #2

I have tested and it's pretty strange.

In BuyItem you can see such check for defuser:
PHP Code:
case MENU_SLOT_ITEM_DEFUSEKIT:
{
    if (
pPlayer->m_iTeam != CT || !g_pGameRules->m_bMapHasBombTarget)
    {
        return;
    } 
It seems that the item is locked from another place on map prefix. For example, if you rename a cs_ map to de_ defuser is available in the menu but nothing happens if you buy it(unless you spawn a func_bomb_target entity to make m_bMapHasBombTarget offset true).

Unfortunately I was not able to understand from where the item is locked on map prefix.
__________________

Last edited by HamletEagle; 12-21-2015 at 09:41.
HamletEagle 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:07.


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