Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- local drop = function( ply, cmd, args )
- -- if (table.HasValue(JB.LastRequestPlayers,ply) and JB.LastRequestTypes[JB.LastRequest] and not JB.LastRequestTypes[JB.LastRequest]:GetCanDropWeapons() ) then return end
- -- JB:DebugPrint(ply:Nick().." dropped his/her weapon");
- -- local weapon = ply:GetActiveWeapon()
- -- for k, v in pairs(undroppableWeapons) do
- -- if IsValid(weapon) then
- -- if v == weapon:GetClass() then return false end
- -- end
- -- end
- -- if IsValid(weapon) then
- -- JB:DamageLog_AddPlayerDrop( ply,weapon:GetClass() )
- -- weapon.IsDropped = true;
- -- weapon.BeingPickedUp = false;
- -- weapon.Wake = true ;
- -- ply:DropWeapon(weapon)
- -- end
- -- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement