Modules
Smash ‘n Grab

Smash ‘n Grab

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

Configuration Options

  • PoliceRequired: Sets the minimum number of police officers required on duty for a smash and grab robbery to occur. Current setting is 0, allowing the activity without police presence.
  • Limit: Determines the maximum number of cars that can be broken into during a smash and grab. The current limit is 50.
  • MinVehicleDistance: Specifies the minimum distance in meters between vehicles that can be targeted for a smash and grab. This is set to 30.0.
  • AllowedVehicleClasses: Lists the vehicle classes that are permitted for smash and grab activities. Classes are represented by numerical values, including 0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 12, 20.
  • BlacklistedModels: Specifies vehicle models that cannot be chosen for smash and grab, ensuring they are never used. Current blacklisted models include "caddy" and "caddy2".
  • Seats: Defines the attachment points for props from the loot tables, with details for bone, seat index, and offset configuration.
  • LootTables: Represents potential loot items available during smash and grabs, each with associated properties, optional rotation, and chance of spawning. Examples include "phone", with varying props and chance percentages.

This configuration allows customizing aspects of the smash and grab feature to fit specific gameplay requirements. Adjust the values as necessary to suit your needs.