SA-MP Forums Archive
[FilterScript] Supply Drops - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Supply Drops (/showthread.php?tid=613859)



Supply Drops - rootcause - 01.08.2016

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

Mediafire || Pastebin



Re: Supply Drops - Bolex_ - 01.08.2016

Another great script from you +REP


Re: Supply Drops - Deadpoop - 01.08.2016

Good job


Re: Supply Drops - Mister0 - 01.08.2016

Nice, very nice
That first camera is mode or script?


Re: Supply Drops - JustMe.77 - 01.08.2016

Looks neat, well done

PS: Is that a Heisenberg Skin Mod, if yes, could you give me the DL for it ?


Respuesta: Supply Drops - MiguelitoC - 01.08.2016

It is a good job congratulations


Re: Supply Drops - UltraScripter - 01.08.2016

Nice


Re: Supply Drops - PRoleplay - 02.08.2016

nice script
BTW: What kind of dialog did you used?


Re: Supply Drops - oMa37 - 02.08.2016

Quote:
Originally Posted by PRoleplay
View Post
What kind of dialog did you used?
DIALOG_STYLE_LIST
DIALOG_STYLE_TABLIST_HEADERS

Dialog Styles - Click Here.


Re: Supply Drops - WhiteGhost - 02.08.2016

Nice..
I was thinking about doing something like this..