Raised This Month: $252 Target: $400
 63% 

csdm + podbot + restrict weapon in maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 08-08-2020 , 20:01   csdm + podbot + restrict weapon in maps
Reply With Quote #1

csdm + podbot + restrict weapon in maps

I restricted weapons on a specific map. (fy_pool_day) and retorn log error in respanm the BOTS

PHP Code:
L 08/08/2020 19:55:27: [CSDM2Item "weapon_csdm_disab" failed to create
L 08
/08/2020 19:55:27: [AMXXRun time error 10 (plugin "csdm_equip.amxx") (native "csdm_give_item") - debug not enabled!
L 08/08/2020 19:55:27: [AMXXTo enable debug modeadd "debug" after the plugin name in plugins.ini (without quotes). 
CSDM EQUIP LINE 1182 CODIG:

PHP Code:
    new item_id csdm_give_item(idwp)
    if (
item_id 0)
    {
        if (
wpnid == CSW_M4A1)
        {
            
cs_set_weapon_silen(item_idg_Silenced[id][SILENCED_M4A1], 1)
        } else if (
wpnid == CSW_USP) {
            
cs_set_weapon_silen(item_idg_Silenced[id][SILENCED_USP], 1)
        }
    }

    if (
wpnid 0)
    {
        new 
bpammo g_MaxBPAmmo[wpnid]
        if (
bpammo)
        {
            
cs_set_user_bpammo(idwpnidbpammo)
        }

        if (
IsRestricted[wpnid])
        {
            if ((
UsedWpsT[wpnid] < RestrictWps[wpnid]) && (team == _TEAM_T))
            {
                
UsedWpsT[wpnid]++
            }
            if ((
UsedWpsCT[wpnid] < RestrictWps[wpnid]) && (team == _TEAM_CT))
            {
                
UsedWpsCT[wpnid]++
            }
        }
    } 
Can someone help me ?
__________________
rx1983 is offline
Send a message via MSN to rx1983
Reply


Thread Tools
Display Modes

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 02:37.


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