[CS:GO] Zero Ammo
1 Attachment(s)
Description
Sets the ammo of all guns picked up, spawned, bought from buy menu to 0. This is useful for some custom gamemode servers where killing others is not an objective but weapons are still allowed. This plugin sets the ammo to 0 for all gun entities including those that have custom skins applied to them via m_nFallbackPaintKit. |
Re: [CS:GO] Zero Ammo
When i spawn i have full ammo on my pistol i need to change back to the knife and back to the pistol and then the ammo disappears ?
|
Re: [CS:GO] Zero Ammo
Quote:
I remember running into this problem before and there was no real solution I found. I must have tried 15 different methods on removing a client's ammo with no bugs. |
Re: [CS:GO] Zero Ammo
Quote:
|
Re: [CS:GO] Zero Ammo
suggestion,
Use event
- item_equip
- Make little delay when event executed. Create timer with 0.0 interval, pass event "userid" to timer callback, use timer flag TIMER_FLAG_NO_MAPCHANGE - On that timer cb, find player with given "userid", remove player ammo from current active weapon. Not need use SDKHooks, less code. |
Re: [CS:GO] Zero Ammo
Check my plugin is already do that.
|
All times are GMT -4. The time now is 18:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.