New releaseRR Gym: real workouts, strength and staminaRR Gym is out
Trick or Treat Night — Halloween trick-or-treating FiveM script cover art

Activities

Trick or Treat Night Halloween trick-or-treating

Players buy a candy bucket at the pumpkin stand, walk a neighborhood after dark and knock on doors with the porch light on. Most homeowners hand out candy, some play a trick, and now and then someone gives out a full-size bar.

See it in action

Trick or Treat Night FiveM script video

Overview

Trick or Treat Night brings Halloween to your city. Candy trades in for cash or prizes, and a leaderboard keeps score for the season. It turns itself on in October and off after Halloween, so you can leave it installed.

How it plays

  • Buy a candy bucket at the pumpkin stand. Houses taking part light up with a porch light, a pumpkin on the step and a blip on the map.
  • Walk up to a lit door after dark and press E to knock.
  • The homeowner opens up: a treat (1 to 3 candy), a full-size bar, a trick (a jumpscare, or you get egged), or nobody is home.
  • Each house answers you once a night, so you keep moving down the street.
  • Everyone nearby sees the same homeowner do the same thing.
  • Back at the stand, sell candy and bars, swap candy for prizes and check the season leaderboard.

Features

Porch Lights On

Houses taking part light up for bucket holders: a warm porch light, a pumpkin on the step and a map blip.

Treats and Full-Size Bars

1 to 3 candy per treat, and now and then a full-size bar. Rich houses hand out more.

Tricks

Some homeowners jump-scare you or egg you. No candy, but a story for the group chat.

The Pumpkin Stand

Buy a bucket, sell candy and bars for cash, swap candy for prizes and check the season leaderboard.

Fair for Everyone

Each house answers you once a night, everyone nearby sees the same homeowner, and every roll is on the server.

Runs Itself

On from October 1 to November 2 and off again after, so it can stay installed all year.

Screenshots

Trick or Treat Night FiveM script screenshot 1 — buying a bucket at the pumpkin standTrick or Treat Night FiveM script screenshot 2 — knocking on a lit porchTrick or Treat Night FiveM script screenshot 3 — a homeowner handing out candyTrick or Treat Night FiveM script screenshot 4 — a homeowner playing a trickTrick or Treat Night FiveM script screenshot 5 — a porch added in gameTrick or Treat Night FiveM script screenshot 6 — the season leaderboard

Setup

Installation

  1. Extract rr-trickortreat into your resources folder and add 'ensure rr-trickortreat' after ox_lib, ox_inventory and oxmysql
  2. Add the three items from install/items.lua to ox_inventory and copy the icons from install/images
  3. Restart the server so ox_inventory picks up the items. The stats table creates itself
  4. Optional: add your own houses in game with /trickortreat adddoor

Dependencies

  • qbx_core or qb-core
  • ox_lib
  • ox_inventory
  • oxmysql

Commands

CommandWhat it does
/trickortreat adddoor [rich]Admin: save the door you are standing at
/trickortreat removedoorAdmin: delete the nearest door you added
/trickortreat forceAdmin: turn the season on or off right now
/trickortreat reset [id]Admin: clear a player's house cooldowns