draw_weapon_pickup_icon

Syntax

stock draw_weapon_pickup_icon(id, weaponid, bool:reliable = true)

Usage

id
Client index or 0 for all clients
weaponid
Weapon id
reliable
If true, the message will be sent via the reliable
channel, otherwise it will use the unreliable one

Description

Temporarily draws the corresponding weapon HUD icon in the middle of the
right side of the screen.

Note

Draw time depends on the hud_drawhistory_time client cvar value.

Return

0 if "id" is non-zero and the client isn't connected,
1 otherwise