SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 30/10/2016, 01:53 PM   #1
rootcause
Big Clucker
 
rootcause's Avatar
 
Join Date: Feb 2015
Location: /
Posts: 114
Reputation: 197
Default Halloween Event








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
****** & maddinat0r & Misiur for sscanf.

Downloads

__________________
All Releases | YouTube
rootcause is offline   Reply With Quote
Old 30/10/2016, 01:55 PM   #2
markparker12
Big Clucker
 
markparker12's Avatar
 
Join Date: Sep 2015
Posts: 135
Reputation: 25
Default Re: Halloween Event

Woah! Niceee!
__________________
Free/Paid Game Server Hosting/Web Hosting/SA-Mp HostedTab
Hiring mature, active loyal and skilled players!



My Works
markparker12 is offline   Reply With Quote
Old 30/10/2016, 02:01 PM   #3
Whyd
Huge Clucker
 
Whyd's Avatar
 
Join Date: Sep 2012
Location: /
Posts: 415
Reputation: 30
Default Respuesta: Halloween Event

Nice!
Whyd is offline   Reply With Quote
Old 30/10/2016, 02:02 PM   #4
Gles
Big Clucker
 
Gles's Avatar
 
Join Date: Aug 2016
Location: Cargando...
Posts: 144
Reputation: 13
Default Respuesta: Halloween Event

your work is very good, maybe use it for tomorrow
__________________
"- Nadie es mejor que nadie, todos somos iguales aunque uno sepa mas que otro."
Gles is offline   Reply With Quote
Old 30/10/2016, 02:04 PM   #5
Quinncell
Guest
 
Posts: n/a
Default Re: Halloween Event

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

Nicely done, happy halloween!
  Reply With Quote
Old 30/10/2016, 03:00 PM   #6
RyderX
Banned
 
Join Date: Oct 2016
Location: Lebanon,Beirut Rank: SA-MP Scripter
Posts: 564
Reputation: 53
Default Re: Halloween Event

COOL I'll Use it in My Server Thanks And Happy Halloween!
RyderX is offline   Reply With Quote
Old 30/10/2016, 03:14 PM   #7
Marines
Little Clucker
 
Marines's Avatar
 
Join Date: Oct 2016
Location: Republic of Vietnam
Posts: 5
Reputation: 10
Default Re: Halloween Event

Wow Nice Event. Love it.
Marines is offline   Reply With Quote
Old 30/10/2016, 03:29 PM   #8
xDaemon
Little Clucker
 
Join Date: Oct 2016
Location: -23.146403, -134.851739
Posts: 11
Reputation: 1
Default Re: Halloween Event

Nice job!!!
xDaemon is offline   Reply With Quote
Old 30/10/2016, 03:44 PM   #9
RyderX
Banned
 
Join Date: Oct 2016
Location: Lebanon,Beirut Rank: SA-MP Scripter
Posts: 564
Reputation: 53
Default Re: Halloween Event

REP+
RyderX is offline   Reply With Quote
Old 30/10/2016, 03:56 PM   #10
Eoussama
High-roller
 
Eoussama's Avatar
 
Join Date: Jul 2016
Location: Kingdom of Morocco // Tangier
Posts: 1,071
Reputation: 281
Default Re: Halloween Event

DOPE
__________________

|===[Web taxi]===|
List of my work
Github
Pastebin

|===[Interesting topics]===|
Semantic Versioning
Eoussama is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] System Event Halloween Edw Filterscripts 20 11/10/2017 05:49 AM
[FilterScript] Rajat's Event system! (Lockable, Event wins, guns) RajatPawar Filterscripts 14 07/03/2015 07:30 PM
[GameMode] Halloween Zombie-Mod Made for Halloween Kitten Gamemode Scripts 85 18/10/2012 05:33 PM


All times are GMT. The time now is 05:04 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.