[FilterScript] Halloween Event
#1






Information

You can kill players or find gift boxes that spawn around the map to get yourself some candy, then spend your hard earned candy on the candy shop buying weapons, health/armor, spawning gift boxes for everyone or you can just keep the candy and be a top 15 candy collector!

Changing Stuff

Item Prices - You can use defines under "// shop config" line to change prices of health kit/armor/gift boxes.
Weapon Prices - You can use ShopWeapons array to change candy shop weapon data like prices or ammo or add/remove weapons.
Gift Box Spawns - You can use GiftBoxCoords array to add/change/remove gift box spawn coords, singleplayer bribe pickup coords are used by default.
Gift Box Rewards - You can take a look at OnPlayerPickUpDynamicPickup to change gift box rewards.

Config

#define I_WANT_HATS_DAMMIT - Gives players a witch hat, it clips with most of the skins though. You can comment or remove this line to disable this feature.
#define PUMPKIN_DROPS - Killed players drop a pumpkin, pumpkins give candy when picked up.
#define ATTACH_INDEX - For the witch hat, you can change this to prevent witch hat replacing other attachments. (Default: 8)

#define GIFT_AMOUNT - Amount of gift boxes spawn on a timed gift drop. (Default: 3)
#define GIFT_INTERVAL - Interval of timed drops, in seconds. (Default: 600)
#define GIFT_LIFETIME - Life time of a gift box, in seconds. (Default: 300)
#define GIFT_MIN_MONEY - Min. amount of money a player can get from a gift box. (Default: 500)
#define GIFT_MAX_MONEY - Max. amount of money a player can get from a gift box. (Default: 2000)
#define GIFT_MIN_CANDY - Min. amount of candy a player can get from a gift box. (Default: 3)
#define GIFT_MAX_CANDY - Max. amount of candy a player can get from a gift box. (Default: 9)

#define PUMPKIN_LIFETIME - Life time of a pumpkin, in seconds. (Default: 120)
#define PUMPKIN_CANDY - Amount of candies a player receives when they pick up a pumpkin. (Default: 3)

#define MEDKIT_PRICE - Price of a medkit/health refill, in candies. (Default: 5)
#define ARMOR_PRICE - Price of a body armor, in candies. (Default: 5)
#define GIFT_PRICE - Price of a gift box, in cash. (Default: 5000)
#define GIFT_PRICE_CANDY - Price of a gift box, in candies. (Default: 10)

Commands

/giftboxes - Shows a list of existing gift boxes with their location.
/topcollectors - Shows a list of 15 players with the most candy.
/candyshop - Opens the candy shop dialog.

RCON Only:

/givecandy [player id] [amount] - Gives candy to the specified player.
/giveallcandy [amount] - Gives candy to everyone on the server.
/dropgift - Spawns a gift box on your location.
/dropgiftaround [amount] - Spawns gift boxes on gift box spawn locations.

Credits

Slice for SQLite Improved
Incognito for Streamer Plugin
Yashas for Improved ZCMD
Y_Less & maddinat0r & Misiur for sscanf.

Downloads

Reply
#2

Woah! Niceee!
Reply
#3

Nice!
Reply
#4

your work is very good, maybe use it for tomorrow
Reply
#5

How about adding a Zombie that comes out of the Gift Box? Would be cool.

Nicely done, happy halloween!
Reply
#6

COOL I'll Use it in My Server Thanks And Happy Halloween!
Reply
#7

Wow Nice Event. Love it.
Reply
#8

Nice job!!!
Reply
#9

REP+
Reply
#10

DOPE
Reply
#11

It looks really fun, good job!

+REP.
Reply
#12

Well done!
Reply
#13

Cool... Can i get .amx please? idk why i cant Compile your script.

@OffTopic:- Which Dialoge Skin are you using for SAMP? its cool, can you PM me its Download link?
Reply
#14

Very Nice
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)