Trick or Treat

Welcome to Trick or Treat

Let me introduce one of the functions, the Trick or Treat, how does it work? Well, you will have preconfigured points around the map where you can go to knock on the door, and you can meet people who like Halloween and give you some candy, but be careful, not everyone likes Halloween, you can be assaulted for trespassing.

You can configure these items that you can get in the Trick or Treat, remember that these items are not all usable, you can apply your ingenuity and make them edible.

Config.Amount = math.random(1, 5)
Config.Items = {
    'pumpkin_mask',
    'haunted_lantern',
    'witch_broom',
    'spooky_ghost_cape',
    'vampire_fangs',
    'black_cat_ears',
    'lollipop_skeleton',
    'pumpkin_candy',
    'zombie_brain_candy',
    'mummy_wraps',
    'dracula_bleeding_candies',
    'cursed_werewolf_claw',
    'ghoul_glow_eyes',
    'haunted_grave_urn',
    'vampire_blood_vial',
    'bone_chilling_candy',
    'chocolate_ghost',
    'chocolate_pumpkin',
    'chocolate_bat',
    'bat_candy'
}

Angry Chance

Remember that not everyone likes NPCs, you can configure the chance that these NPCs will attack you and you can also configure and view the NPC models that will open doors for you.

Config.AngryChance = 5 -- Angry NPC Chance (1 to 100)
Config.Peds = {
    'a_f_m_ktown_02',
    'a_f_m_fatwhite_01',
    'a_f_y_hipster_02',
    'a_m_m_malibu_01',
    'a_m_o_beach_01',
    'ig_orleans',
    'ig_sol',
    'ig_paper',
    'ig_sss',
    'ig_tanisha',
    's_f_y_shop_low',
    's_f_y_shop_mid'
}

Last updated