Drawing Pickups

I can’t seem to override the base version of the pickup HUD.

I really wanna create something simple for it, but it wont let me override it in my gamemode. I have searched alot on google about any guides/tutorials on how to make your own “Weapon pickup hud” but all I could find was people telling me to ‘override’ it by just making
[LUA]
function GM:HUDDrawPickupHistory( )
end
[/LUA]
inside of a clientside script.

Any help would be appreciated :slight_smile:

You can have a look at the version that’s implemented in base here. It should give you a good idea on what you’ll need.

The short version is you do need to override

GM/HUDDrawPickupHistory, and iterate over GM.PickupHistory, which contains a table of everything you’ve picked up recently.

(Bear in mind you’ll need to manage popping items off the queue when they expire in the hook too.)