Hello. I'm here to introduce a new plugin I've made for zombie plague. Its purpose is to increase ammo pack gain at some points in time (happy hours). It works in all zombie plague versions. You just have to edit this line:
// Uncomment this line if you use the zombie plague 4.2 or an older
//#define ZP_42_OR_OLDER
Also, note that the plugin must be declared before zp to work in "plugins.ini"
Quote:
; Main plugin
happyhour.amxx
zombie_plague40.amxx
; Default zombie classes
zp_zclasses40.amxx
; Add sub-plugins, custom zombie classes, and extra items here
ETC...
|
Credits: speed, for this good idea
CVARS
Quote:
zp_happyinit 2 // Hour at which the happy hours start, example 2 = 2 am and 14 = 2 pm.
zp_happyend 7 // Hour at which the happy hours end, example 2 = 2 am and 14 = 2 pm.
zp_happyhour 1 // Activate??
zp_happymultipler 2 // Multipler of the amount, example amount init is +1 pack, and cvar is 2 : result +2 packs for this player
|
Quote:
When the map changes, or in a restart, it checks the new cvars and time.
zp_happyinit 2 // Hour at which the happy hours start, example 2 = 2 am and 14 = 2 pm.
zp_happyend 7 // Hour at which the happy hours end, example 2 = 2 am and 14 = 2 pm.
zp_happyhour 1 // Activate??
|
+karma, and admin for me (?)