draw_ammo_pickup_icon

Syntax

stock draw_ammo_pickup_icon(id, ammoid, amount, bool:reliable = true)

Usage

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

Description

Temporarily draws HUD numerical ammo amount and corresponding ammo
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