Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. hook.Add( "PlayerCanPickupWeapon", "Knife", function( ply, wep )
  2. if wep:GetClass() == "weapon_jb_knife" then
  3. if Pointshop2.GetItemInSlot( ply, "Knife" ) == nil
  4. then return true
  5. else
  6. ply:Give( Pointshop2.GetItemInSlot( ply, "Knife" ) )
  7. wep:Remove()
  8. return false
  9. end
  10. end
  11. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement