Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Happy hour


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
capostrike93
Veteran Member
Join Date: Feb 2009
Location: adios y??
Old 02-07-2010 , 05:24   [ZP] Happy hour
Reply With Quote #1

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 (?)
Attached Files
File Type: sma Get Plugin or Get Source (happyhour.sma - 5323 views - 3.7 KB)
__________________

Last edited by capostrike93; 02-09-2010 at 23:03. Reason: When the map changes, or in a restart, it checks the cvars and time
capostrike93 is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode