This plugin will display the magazine status of the weapon in use in percentages, if applicable. (i.e. will not display status if holding a knife)
Example: Mag is at 100%, Mag is at 45%, Mag is Empty!, etc...
It updates the print out in two different ways depending on how you set it up; See CVars.
** Credits **
This plugin was inspired by JBallou's AmmoCheck plugin which can be found here:
sm_ammo_status_enabled (1 to enable, 0 to disable)
sm_ammo_status_share (1 to share the screen with another plugin, 0 to hog the hint text screen position.)
Explanation: If sm_ammo_status_share is set to 1, the status of the magazine will only show when the weapon is in use (equipped, reloaded, fired, etc). If it's set to 0, the status will always show.
*note: If you have another plugin installed (like showhealth) that prints to hint text, and you set sm_ammo_status_share to 0 - the two plugins will compete for time on the screen, resulting often in a flashing effect between the two plugins' outputs.
Place the AmmoStatus.smx file in your sourcemodplugins folder. Restart the server.
A file named plugin.AmmoStatus.cfg is created in the insurgencycfgsourcemod in which you set your CVars.
Attached Files Get Plugin or Get Source (AmmoStatus.sp - 4.8 KB)
Wyświetl pełny artykuł