L 01/22/2023 - 04:29
9: [SM] [1] Line 665, l4d2_RandomAmmo.sp::SetWeaponAmmo
L 01/22/2023 - 04:29
9: [SM] [2] Line 544, l4d2_RandomAmmo.sp::eWeaponCanUse
L 01/22/2023 - 04:29
9: [SM] Exception reported: Entity 283 (283) is invalid
L 01/22/2023 - 04:29
9: [SM] Blaming: l4d2_RandomAmmo.smx
L 01/22/2023 - 04:29
9: [SM] Call stack trace:
L 01/22/2023 - 04:29
9: [SM] [0] SetEntProp
L 01/22/2023 - 04:29
9: [SM] [1] Line 665, l4d2_RandomAmmo.sp::SetWeaponAmmo
L 01/22/2023 - 04:29
9: [SM] [2] Line 544, l4d2_RandomAmmo.sp::eWeaponCanUse
L 01/22/2023 - 04:29
9: [SM] Exception reported: Entity 283 (283) is invalid
L 01/22/2023 - 04:29
9: [SM] Blaming: l4d2_RandomAmmo.smx
L 01/22/2023 - 04:29
9: [SM] Call stack trace:
L 01/22/2023 - 04:29
9: [SM] [0] SetEntProp
L 01/22/2023 - 04:29
9: [SM] [1] Line 665, l4d2_RandomAmmo.sp::SetWeaponAmmo
L 01/22/2023 - 04:29
9: [SM] [2] Line 544, l4d2_RandomAmmo.sp::eWeaponCanUse
L 01/22/2023 - 04:29:40: [SM] Exception reported: Entity 283 (283) is invalid
L 01/22/2023 - 04:29:40: [SM] Blaming: l4d2_RandomAmmo.smx
L 01/22/2023 - 04:29:40: [SM] Call stack trace:
L 01/22/2023 - 04:29:40: [SM] [0] SetEntProp
L 01/22/2023 - 04:29:40: [SM] [1] Line 665, l4d2_RandomAmmo.sp::SetWeaponAmmo
L 01/22/2023 - 04:29:40: [SM] [2] Line 544, l4d2_RandomAmmo.sp::eWeaponCanUse
L 01/22/2023 - 04:29:40: [SM] Exception reported: Entity 283 (283) is invalid
L 01/22/2023 - 04:29:40: [SM] Blaming: l4d2_RandomAmmo.smx
L 01/22/2023 - 04:29:40: [SM] Call stack trace:
L 01/22/2023 - 04:29:40: [SM] [0] SetEntProp
L 01/22/2023 - 04:29:40: [SM] [1] Line 665, l4d2_RandomAmmo.sp::SetWeaponAmmo
L 01/22/2023 - 04:29:40: [SM] [2] Line 544, l4d2_RandomAmmo.sp::eWeaponCanUse
unable to drop m60 once i pick it up each time i try this happens and it auto grabs the m60 over and over and over again
~~~~~~~~~~~~~~~~
i put debug mode on and got this
OnEntityCreated| =========================weapon_rifle_m60---274
---------------Set2 None Set Flag::15, Hand:0, Index:274, Type
, R_Ammo: 0
========eWeaponCanUse======
eWeaponCanUse| Start=m_iExtraPrimaryAmmo========Data
00,Sen d
00 =========!
eWeaponCanUse| After=m_iExtraPrimaryAmmo=======Send:0,Send:0 =========!
===========Item_Pickup| :g_bAllowSetAmmo:1 - g_bRound: 0===========
===========Item_Pickup| New Weapon: 274 g_bAllowSetAmmo:0===========
===========Event_Player_Use| index: 792===========
---------Set2 None Set Flag:15, Hand:0, Index:274, Type
, R_Ammo: 0
eWeaponCanUse| Handle Weapon:623, g_bAllowSetAmmo:1
DropWeapon| client:1, weapon:623 target: 274, buffer_target: weapon_rifle_m60
DropWeapon| Allow Target Weapon Type
DropWeapon| Allow Drop Weapn Type! client:1, weapon:623*, Type
eWeaponCanUse| -------------Index:274,Type
SetAmmo: Count:15, R_random: 0, random: 114
Item_Pickup| Start---------300---------
Item_Pickup| End---------0---------
===========Event_Player_Use| index: 623===========
---------------Set1 Find Flag::14, Hand:1, Index:623, Type:10, R_Ammo: 211
eWeaponCanUse| Handle Weapon:274, g_bAllowSetAmmo:0
DropWeapon| client:1, weapon:274 target: 623, buffer_target: weapon_rifle
DropWeapon| Allow Target Weapon Type
DropWeapon| Allow Drop Weapn Type! client:1, weapon:274*, Type:10
---------------Set1 Find Flag::14, Hand:1, Index:623, Type:10, R_Ammo: 211
===========Event_Player_Use| Old Weapon - Count: 14 R_Ammo: 10===========