Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 17s ago· Viewing build 6722 (Sep 29 2026), not the latest

item_pickup

game event

Declared in game.gameevents

Named in the code or data of server.

Deadworks (C#), as ItemPickupEvent
[GameEventHandler("item_pickup")]
public HookResult OnItemPickup(ItemPickupEvent args) {
	// args.Userid, args.Item
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
useridplayer_controller
Userid CBasePlayerController?
itemstring
Item string
either a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs'

History

  1. 6696–6745first dumped