Garry's Mod Wiki

GM:PlayerCanPickupItem

GM:PlayerCanPickupItem

  boolean GM:PlayerCanPickupItem( Player ply, Entity item )

Description

Returns whether or not a player is allowed to pick an item up. (ammo, health, armor)

Arguments

1 Player ply
Player attempting to pick up
2 Entity item
The item the player is attempting to pick up

Returns

1 boolean
Allow pick up

Special Pages


Wikis

?

Render Time: 55ms

DB GetPage 35
Generate Html 4
SaveChanges (1) 5
Render Body 0
Render Sidebar 8