Difference between revisions of "Hooks/Server/PlayerCanPickupWeapon"

From Official DarkRP Wiki
Jump to navigation Jump to search
(PlayerCanPickupWeapon hook)
(No difference)

Latest revision as of 18:59, 21 February 2015

Hook name PlayerCanPickupWeapon(Player ply, Weapon weapon)
Whether a player can pickup a weapon
Returns: boolean canPickup
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/PlayerCanPickupWeapon]PlayerCanPickupWeapon hook[/url][/b]


  1. ply (Player)
  2. The player.

  3. weapon (Weapon)
  4. The weapon

Return values

  1. canPickup (boolean)
  2. Whether it can be picked up.