Door Ram Script [ESX,QB]
Door Ram Script [ESX,QB]
Information:
This custom GTA V RP script introduces a new weapon, “WEAPON_RAM,” and a door ramming mechanic to enhance the roleplay experience on your FiveM server. The script is compatible with both ESX and QBCore frameworks, ensuring flexibility for various server setups.
Features:
- Framework Compatibility:
- Detects and supports both ESX and QBCore frameworks.
- Adjusts behavior based on the player’s job, providing role-specific interactions.
- Door Ramming Mechanic:
- Equipping the “WEAPON_RAM” allows players to interact with specific doors listed in the configuration.
- Plays immersive animations and sounds during the door ramming process.
- Offers customization options for door-breaking chances and animations.
- Configuration Settings:
- Customizable through the
Config
settings, allowing server administrators to fine-tune the script’s behavior. - Options include adjusting door-breaking chances, enabling debug mode, and configuring police-only access to the ram.
- Customizable through the
- Server Events:
- Utilizes server events for seamless communication with server-side logic.
- Events such as
'bs_RAM:updateState'
and'bs_RAM:setState'
handle door state updates. 'bs_RAM:SaveOnConfig'
event manages the saving of door-related information.
- Commands:
/doorAdd
: Allows players to add doors dynamically by aiming at them./ram
: Equips players with the “WEAPON_RAM,” subject to specified conditions, such as having a police job.
- Installation:
- Ensure compatibility with either ESX or QBCore framework.
- Drag and drop the script into your server resources and add ´start bs_RAM´ and ´start bs_RAM-Script´ into your server.cfg.
- Configure the script according to your server’s preferences in the provided
Config
settings. - Start the script and enjoy the enhanced roleplay
Video Preview
Also, Check more esx scripts and qbcore scripts
Reviews
There are no reviews yet.