Modules
Mugging

Mugging

This category provides exports useful for the script, along with information on configuration issues and related topics.

Configuration Options

These settings allow for a high degree of personalization of the mugging features, enabling server administrators to tailor the experience according to their specific requirements. Adjust these configurations as needed.

LootTables

Defines potential loot items that can be obtained during a mugging. Each loot item has a name, a probability of being acquired, and an associated count. Example loot includes:

  • Phone: 25% chance of being acquired.
  • Money: 60% spawn chance, with an amount ranging from 10 to 50.

Blacklisted Weapons

Lists weapons that are not allowed to be used in mugging activities. Current restrictions include:

  • WEAPON_BAT
  • WEAPON_NIGHTSTICK
  • WEAPON_COMBATPISTOL
  • WEAPON_FLASHLIGHT
  • WEAPON_STUNGUN
  • WEAPON_SNOWBALL
  • WEAPON_UNARMED

Blacklisted Models

Contains a list of character models prohibited from being victims in mugging events. The current blacklisted model includes:

  • mp_m_shopkeep_01 - Prevents these characters from being targeted.

Progress Time

Specifies the time range needed to successfully mug someone, with a minimum duration of 8000 milliseconds and a maximum of 15000 milliseconds. These time settings can be modified to control the pace of the mugging activity.

Police Required

Defines the minimum number of police officers required to be on duty for a mugging event to occur. Currently set to 0, enabling the activity without police presence.