Ammo packs
What i need to write If:
Vip Zombie infects someone he gets 2 ammo packs or when he human and kills zombie he gets 3 ammo packs And can be controled by cvar how many he gets ammo packs.... |
Re: Ammo packs
You could use give_item with the ammo_ items, although it is by far not recommended. If, however, the weapon the players have is a fixed one (a M4A1, for instance), then you would know in advance the amount of ammo a ammo pack has. If that is the case, you can do a call as simple as this one:
PHP Code:
The killing part should be taken care of by Ham_Killed. Moreover, it is recommended to cache the CVAR in a global variable at new round or something alike (you can look at the forums for this). |
Re: Ammo packs
Not Guns ammo
But Zombie plague Ammo packs |
Re: Ammo packs
Oh, I'm sorry, then. I don't even know what those are.
The same method should hold, though. |
Re: Ammo packs
First of all what is Vip Zombie?
|
Re: Ammo packs
Im collecting codes but not Created yet....
Vip plugin for zombie plague mod.... |
| All times are GMT -4. The time now is 22:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.