[ZP] Addon: Super Gift Pack
Author: GhosT95V
Version: 1.00
Description:
This plugin has feature to Win a Gift Pack at about 10 minutes left of the map
this gift happen only 1 time on each map ...
It gives to a Random (alive) Player the Gift pack...
The gift contains:
+150 Ammo packs ( to the player who server choose to Win [ Only 1 time when gift happen ])
+150 Health ( when gift happen + [ every round of left time of lucky player ] )
+200 Armor ( when gift happen + [ every round of left time of lucky player ] )
+Unlimited Clip (for whole left time of the map)
-------------------------------------------------------------------------------------------------
Some nice effects its given to the player who is choosed to win the Gift see images below (only when gift happen )
-------------------------------------------------------------------------------------------------
Included:
PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <fun>
#include <dhudmessage>
#include <hamsandwich>
#include <zombie_plague_advance>
Cvars:
PHP Code:
// Set the left time of map (in second's) to make the gift happen.
zp_gift_time 600 // Standart - 600 seconds = 10 minutes, this will make the gift happen lower than timeleft 10
// Turned ON to give HP of chosen player
zp_heath_gift 1 // Standart - 1. 0 OFF
// Turned ON to give Armor of chosen player
zp_armor_gift 1 // Standart - 1. 0 OFF
// Turned ON to give Infinity Clips of chosen player
zp_inf_clip 1 // Standart - 1. 0 OFF
// Set the amount of ammo packs gift.
zp_gift_packs 150 // Standart 150
Definitions:
PHP Code:
#define HP_AMOUNT 150 // Health amount to give to the chosen player
#define ARMOR_AMOUNT 200 // Armor amount to give to the chosen player
Notes:
- if you find any bug report them here please.
- you can easly change cvars in the .sma file, or type them on amxx.cfg file
- you need the includes (zombieplague or above and dhudmessage.inc) to compile this code
Screenshot:
[IMG]http://imagizer.**************/v2/640x480q90/538/P28uAn.png[/IMG]