Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add( "PlayerCanPickupWeapon", "Knife", function( ply, wep )
- if wep:GetClass() == "weapon_jb_knife" then
- if Pointshop2.GetItemInSlot( ply, "Knife" ) == nil
- then return true
- else
- ply:Give( Pointshop2.GetItemInSlot( ply, "Knife" ) )
- wep:Remove()
- return false
- end
- end
- end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement