[FilterScript] Supply Drops
#1

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:

Code:
{weapon id, price}
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

Reply


Messages In This Thread
Supply Drops - by rootcause - 01.08.2016, 17:30
Re: Supply Drops - by Bolex_ - 01.08.2016, 17:36
Re: Supply Drops - by Deadpoop - 01.08.2016, 19:02
Re: Supply Drops - by Mister0 - 01.08.2016, 19:58
Re: Supply Drops - by JustMe.77 - 01.08.2016, 20:58
Respuesta: Supply Drops - by MiguelitoC - 01.08.2016, 21:02
Re: Supply Drops - by UltraScripter - 01.08.2016, 21:13
Re: Supply Drops - by PRoleplay - 02.08.2016, 02:55
Re: Supply Drops - by oMa37 - 02.08.2016, 11:11
Re: Supply Drops - by WhiteGhost - 02.08.2016, 12:28

Forum Jump:


Users browsing this thread: 1 Guest(s)