View Single Post
Plugin Info:     Modification:          Category:          Approver:   Hawk552 (427)
hoboman
Senior Member
Join Date: Jul 2007
Old 04-08-2008 , 20:11   Weapon Icon Display ( zenix )
Reply With Quote #1

Introduction:
The original author of this plugin ( unapproved now ) stopped supporting this almost a year ago and his plugin contained some annoying bugs such as the icons constantly being pink.

Description:
This plugin displays your current weapon as an icon in your hud.
Icon colors:
green - sufficient ammo
yellow - last clip of ammo
red - no more ammo left
Cvars:
amx_weapon_location x (0/1/2 - default is 1 ) - If 0 then no icon will be displayed. If 1 then the icon will be displayed on the left side of the screen with the other icons. If 2 then the icon will be displayed by the game clock.
Notes:
- the flash bang and the smoke nade share the same icon because the game developers decided not to make an icon for the smoke for some unknown reason
- I was not able to fix the flashbang/smoke icon because the sprites are read from the hud.txt on client side
Attached Thumbnails
Click image for larger version

Name:	1.JPG
Views:	538683
Size:	1.7 KB
ID:	25440   Click image for larger version

Name:	2.JPG
Views:	357962
Size:	2.0 KB
ID:	25441   Click image for larger version

Name:	3.JPG
Views:	349408
Size:	2.0 KB
ID:	25442  
Attached Files
File Type: sma Get Plugin or Get Source (weapon_icon.sma - 84978 views - 4.9 KB)
__________________

Last edited by hoboman; 04-23-2008 at 16:53. Reason: update
hoboman is offline