01.08.2016, 17:30
Information
Allows players to request a supply drop on their location. There are 4 types of drops:
Weapons: A plane will drop the weapon you requested.
Ammo: A plane will drop you an ammo box, when you pick it up every firearm you have will get some ammo.
Health Kit: A plane will drop you a health kit, when you pick it up your health gets refilled to 100.
Body Armor: A plane will drop you a body armor, when you pick it up your armor gets refilled to 100.
For the video I made weapons pretty cheap and added a minigun, you may want to change that.
Config
#define PLANE_TIME - Time required for a plane to show up, in seconds. (Default: 7)
#define REQ_COOLDOWN - Cooldown time between drop requests, in minutes. (Default: 3)
#define DROP_LIFE - Life time of a supply drop, in minutes. (Default: 5)
#define AMMO_PRICE - Price of requesting an ammo box. (Default: 750)
#define HEALTH_PRICE - Price of requesting a health kit. (Default: 500)
#define ARMOR_PRICE - Price of requesting a body armor. (Default: 450)
#define AMMO_AMOUNT - Ammo given with an ammo box supply drop, also used in weapon requests. (Default: 150)
Weapons
You can add/modify/remove requestable weapons from AvailableWeapons array. Make sure it's in this format:
For weapon ids you can visit https://sampwiki.blast.hk/wiki/Weapons
Credits
Kar for Foreach Standalone
Yashas for Improved ZCMD
RyDeR for MapAndreas Include
Downloads
Allows players to request a supply drop on their location. There are 4 types of drops:
Weapons: A plane will drop the weapon you requested.
Ammo: A plane will drop you an ammo box, when you pick it up every firearm you have will get some ammo.
Health Kit: A plane will drop you a health kit, when you pick it up your health gets refilled to 100.
Body Armor: A plane will drop you a body armor, when you pick it up your armor gets refilled to 100.
For the video I made weapons pretty cheap and added a minigun, you may want to change that.
Config
#define PLANE_TIME - Time required for a plane to show up, in seconds. (Default: 7)
#define REQ_COOLDOWN - Cooldown time between drop requests, in minutes. (Default: 3)
#define DROP_LIFE - Life time of a supply drop, in minutes. (Default: 5)
#define AMMO_PRICE - Price of requesting an ammo box. (Default: 750)
#define HEALTH_PRICE - Price of requesting a health kit. (Default: 500)
#define ARMOR_PRICE - Price of requesting a body armor. (Default: 450)
#define AMMO_AMOUNT - Ammo given with an ammo box supply drop, also used in weapon requests. (Default: 150)
Weapons
You can add/modify/remove requestable weapons from AvailableWeapons array. Make sure it's in this format:
Code:
{weapon id, price}
Credits
Kar for Foreach Standalone
Yashas for Improved ZCMD
RyDeR for MapAndreas Include
Downloads