obMethodOfEntry
An ideal script for enhancing the roleplay experience for both Civilians and Law Enforcement
This resource is installed like any other resource. See our Installing Resourcespage for help here. No configuration is required to use this resource!
Configuration
obMethodOfEntry can be used without configuration, however you can change certain things to fit your liking if you wish.
Firstly, you are able to change the explosive strip prop if you wish. You can do this by setting Config.emoeStripProp
to the prop name that you wish to use.
You can change the different types that a door can be locked to, for example you may want to add reinforced metal. To do this you would head to the Config.lockTypes
list, and copy this segment:
Paste is below the last entry in the list, and alter the label and health. The label
is what the door type will show as in game when you run the command to lock the door. The health
is how long the door will take to be broken.
You can also change which weapons can be used to cause damage to locked doors using the Config.enforcerWeapons
list.
You can either change one of the existing entries, or copy and paste one to create a new one. To create a new one, copy this block
And paste below one of the existing ones.
hash
is the weapon name for the weapon that you wish to configure. You can find a list of all weapon names here
minDamage
is the minimum amount of damage that the weapon can give to a door, and maxDamage
is the maximum amount of damage that can be given to a door by this weapon.
blockHitting
is a feature that stops you from hitting other players when holding this weapon, as a common issue in roleplay is you hitting others around you when trying to break down a door with Method of Entry scripts.
Last updated