Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. -- local drop = function( ply, cmd, args )
  2. -- if (table.HasValue(JB.LastRequestPlayers,ply) and JB.LastRequestTypes[JB.LastRequest] and not JB.LastRequestTypes[JB.LastRequest]:GetCanDropWeapons() ) then return end
  3.  
  4. -- JB:DebugPrint(ply:Nick().." dropped his/her weapon");
  5.  
  6. -- local weapon = ply:GetActiveWeapon()
  7.  
  8. -- for k, v in pairs(undroppableWeapons) do
  9. -- if IsValid(weapon) then
  10. -- if v == weapon:GetClass() then return false end
  11. -- end
  12. -- end
  13.  
  14. -- if IsValid(weapon) then
  15. -- JB:DamageLog_AddPlayerDrop( ply,weapon:GetClass() )
  16.  
  17. -- weapon.IsDropped = true;
  18. -- weapon.BeingPickedUp = false;
  19. -- weapon.Wake = true ;
  20. -- ply:DropWeapon(weapon)
  21. -- end
  22. -- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement