A Halloween event for FiveM, by m-Scripts
HALLOWEEN

The whole city plays. The dead walk.

Pumpkins all over the map, houses to trick or treat, zombie zones to clear, candy with a sugar rush and a Pumpkin Trader with a ranking.

The Pumpkin Trader with the Sweet Bag, Haunted Box and Cursed Chest offers
The You got screen after a trade
The ranking with your own stats and score
The timers for the zombie form and the sugar rush
The admin panel to start, stop and reset the event
01Pumpkins

Pick it first.
Or lose it.

Pumpkins grow on 53 spots across the map. One player picks it and it is gone for everyone, until it grows back 20 minutes later.

02Trick or treat

Knock on 74 doors.
Hope for candy.

One knock per door per player each event. Someone hands you candy, or a zombie opens the door. That happens 15% of the time by default.

03Zombie zones

Get close.
They wake up.

Grapeseed Fields, Richman Glen and Paleto Shore. Zombies spawn when you come near, attack, and can be searched for loot once they are down.

04The trader

Pumpkins in.
Loot out.

The Pumpkin Trader waits in Mirror Park. Trade 5, 10 or 25 pumpkins for the Sweet Bag, the Haunted Box or the Cursed Chest.

05Rewards

Every item
has its odds.

Each offer rolls its own loot table, with a chance and an amount per item. The odds are on screen before you trade.

06Ranking

Climb the board.
Beat the city.

Pumpkins, doors, zombies and trades all add to your score. The top 10 and your own stats are one tab away.

07Candy

Sugar rush.
Zombie form.

Candy fills hunger and makes you run faster for 20 seconds. Eat a pumpkin and you turn into a zombie for 30 seconds.

08Admins

Start it.
Stop it.

It starts by itself in October and November. With /halloween admins start or stop it, or grow every pumpkin back at once.

Showcase

See it running.
In game.

The loot

Five items.
All of them do something.

Every item comes with its picture and the lines for ox_inventory, qb-core and ESX.

PumpkinPumpkin

The currency of the event. Trade it, or eat it if you dare.

Zombie form
Halloween CandyHalloween Candy

Wrapped sweets from a trick or treat. Hunger and a sugar rush.

Sugar rush
Gummy WormsGummy Worms

A handful of sour gummies, with the same sugar rush.

Sugar rush
Spooky LollipopSpooky Lollipop

A big lollipop. Run faster for a few seconds.

Sugar rush
Pumpkin PiePumpkin Pie

A slice of pie from the trader boxes and the luckiest doors.

Food
0Pumpkin spots on the map
0Doors to trick or treat
0Zombie zones
0Trader offers
0Event items with pictures
Everything in the box

A whole event.
Not one prop.

Starts by itself

Runs when the server starts in the months you choose. October and November by default, or any month.

Config.Event

Halloween weather

Switches the weather while the event runs and clears it when the event ends.

4 weather scripts

Shared pumpkins

Picked by one player, gone for everyone. They grow back after the minutes you set.

53 spots

Optional skill check

Picking takes a few seconds. Add an easy, medium or hard skill check if you want more.

Off by default

Trick or treat

One knock per door per player each event. Locals hand out candy from their doorstep.

74 doors

Locals at the door

Eight different locals answer the doors, so every knock looks a bit different.

Config.Doors.peds

Tricks

Sometimes a zombie opens the door instead. The chance is one number in the config.

15% default

Zombie zones

Zombies spawn when players come close, attack, and come back a while after they are looted.

3 zones

Search the body

Downed zombies can be searched for pumpkins, candy, pie and the odd weapon.

Loot table

Rare weapons

A knife, a hatchet or a pistol can drop from zombies and the bigger trader boxes, at low odds.

Optional

Pumpkin Trader

A zombie trader in Mirror Park with his own blip. Three offers out of the box, add as many as you like.

Offers

Loot with odds

Every reward has a chance and a min and max amount, for doors, zombies and each trader offer.

Config

Ranking

Top 10 players by score. Pumpkins, doors, zombies and trades each count.

Top 10

Your stats

Every player sees their own pumpkins, doors, zombies, trades and score.

Saved

Sugar rush

Candy adds hunger, takes some stress away and lets you run faster for a few seconds.

Candy

Zombie form

Eat a pumpkin and play as a zombie for 30 seconds. Your own look comes back after.

Pumpkin

Admin panel

/halloween opens a small panel: start, stop and grow every pumpkin back, with live counts.

Admins

Console commands

halloween start, stop and status work from the server console too.

txAdmin ready

Server checked

Distance, event running, one door per player, picked pumpkins and rate limits are all checked on the server.

Secure

Blips

Pumpkins, doors, zombie zones and the trader each get their own blip, all set in the config.

Map

Logs

Picks, doors, zombie loot and trades are sent to a Discord webhook.

Webhook

Open functions

Weather, hunger, the zombie form and the skin restore live in an open file you can change.

functions.lua

Your colour

The accent colour of every screen is one line in the config.

Config.Accent

English and Portuguese

Both languages included. Add your own in the locales folder.

Locales
Straight answers

What you get.
What you need.

Included

  • The script with its own screens, in English and Portuguese
  • 53 pumpkin spots, 74 doors and 3 zombie zones placed for you
  • 5 items with pictures for ox_inventory, qb-core and ESX
  • The Pumpkin Trader, the ranking and the admin panel
  • Server exports and a Discord webhook

Good to know

  • Needs ox_lib and oxmysql. The table is created on the first start
  • Framework, inventory and target are picked on their own
  • Restart the server once after adding the items
  • All spots, doors, zones and rewards can be changed in the config
  • No custom props needed: it uses game models
Plugs into your server

Your stack.
Already supported.

Framework, inventory and target are found on their own when the server starts. Weather and appearance scripts are picked up if they run.

Framework

QboxQBCoreESX

Inventory

ox_inventoryqb-inventoryps-inventoryESX

Target

ox_targetqb-target

Weather

qb-weathersyncRenewed-Weathersynccd_easytimevSync

Appearance

illenium-appearancefivem-appearanceqb-clothingesx_skin

Needs

ox_liboxmysql

For developers

Run it
from your own scripts.

-- start or stop the event from another resource
exports['m-Halloween']:StartEvent()
exports['m-Halloween']:StopEvent()

-- is it running right now?
local running = exports['m-Halloween']:IsRunning()
FAQ

Before you buy.

When does the event run?

It starts by itself when the server starts in the months in Config.Event.months, October and November by default. Leave the list empty for any month, or turn autoStart off and start it by hand.

Can I move the pumpkins and doors?

Yes. Every pumpkin spot, door, zombie zone and the trader position are plain coordinates in the config.

Can I change the rewards?

Yes. Doors, zombies and each trader offer have their own loot list with a chance and a min and max amount. Add your own items or weapons.

Can players farm the same door?

No. Each player can knock on each door once per event, and picks, knocks, loots and trades are rate limited on the server.

What does the ranking count?

Pumpkins picked, doors knocked, zombies looted and trades. Each one adds to the score, and the stats are saved in the database.

Does it need custom props?

No. Pumpkins, the trader and the zombies use game models, so there is nothing extra to stream.

TRICKOR TREAT.

Available now for 12.30 EUR.

Buy Halloween