We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3c001e commit c3ade8fCopy full SHA for c3ade8f
FunDropWeaponOnShoot.cs
@@ -24,7 +24,7 @@ public override void Fun(FunMatchPlugin plugin)
24
if (cur_weapon.DesignerName == "weapon_c4" || cur_weapon.DesignerName == "weapon_knife" || cur_weapon.DesignerName == "weapon_knife_t")
25
return HookResult.Continue;
26
27
- @event.Userid!.DropActiveWeapon();
+ player!.DropActiveWeapon();
28
Server.NextFrame(()=>{
29
if (pawn!.WeaponServices!.ActiveWeapon.Get() is null)
30
{
0 commit comments