[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
#2

Another great script from you +REP
Reply
#3

Good job
Reply
#4

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

Looks neat, well done

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

It is a good job congratulations
Reply
#7

Nice
Reply
#8

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

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.
Reply
#10

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


Forum Jump:


Users browsing this thread: