[FREE][ESX/QB/QBX] Trick or Treating

Trick or Treating :ghost:

Bring Halloween to life on your FiveM server with our Trick or Treating resource! It allows players to trick-or-treat at various houses, with a twist: sometimes they get treats, and other times, they get a spooky trick! Players can sell their gathered candy to a mysterious Candy Clown who lurks around Los Santos…

Knock on Doors

Players can knock on specific houses to receive treats or face a surprise attack by a spooky ped.

Random Tricks

Some interactions spawn a ped with a weapon that will chase and attack, adding an extra thrill.

Candy Selling

Players can trade collected candy with the Candy Clown for in-game money. The Clown and their van create an eerie setting that enhances the Halloween vibe.

Supported frameworks

ESX, QBCore & Qbox

Locales

English, Español, Dutch, Estonian, French

Preview: Click Here
Download: Click Here

Follow our installation guide: Click Here
Check out our paid releases!: Click Here

Dependencies:
stevo_lib 1.7.1
ox_lib

6 Likes

i dont see u crediting me lil bro

Anyway to make it so the items are random chance?

What do you mean? the amount of items, the items themselves and the chance of actually getting items are all random

Basically let’s say I have 5 items

And one of the items is a weapon_rubberchicken but it’s a 5% chance they will get it

1 Like

Why don’t you work with me so that you don’t have to enter all the coordinates but just the door prop names

local modelsDOOR = {
‘v_ilev_ss_door03’,
‘h4_prop_door_club_trad_generic’,
‘p_mp_door_07’,
‘prop_ret_door’
}

exports.ox_target:addModel(modelsDOOR, optionDOOR)

local optionDOOR = {
{
name = ‘DOOR’,
icon = config.LabelIcon,
label = locale(‘target_label’),
items = config.RequiredItem,
distance = 2.5,
onSelect = function()
TriggerEvent(‘’)
end
}
}

Because the script works with textui aswell :slight_smile:

This is just meant to be trick or treating, but you could add one to the items list I guess

Nice Work Man!

1 Like