Description:This script allows players to use the "Bag" item from their inventory. When using the bag on the nearest player within a 2-meter radius, the bag is placed over their head. The player with the bag on their head sees a darkened screen with small gaps and bag texture, along with a visual bag model on their head. The item remains in the inventory after use.
🌟 Key Features:
- 👥 Bag Application: Effortlessly place the "Bag" on the nearest player within a 2-meter radius.
- 🔄 Bag Removal: Simply reuse the "Bag" item to remove it from the player's head.
- 🎨 Visual Effects: Experience a darkened screen with artistic gaps and a textured overlay.
- 🧢 Visual Bag Model: See a realistic bag model on the player's head.
- 🎬 Animations: Enjoy smooth animations for both applying and removing the bag.
- ⚰️ Automatic Removal: The bag is automatically removed upon player death, ensuring seamless gameplay.
Locking the key to open the map and inventory
🎥 Video Preview
https://youtu.be/8AGY_TgTuhE
🛠️ Installation Steps:
- 📂 Copy the wizshok folder to your resources/
- 📝 Add ensure wizshok to your server.cfg.
- ✅ Configure the "buckethead" item in your inventory with canBeUsed = true.
- 🔄 Restart your server to apply changes.
📋 Requirements:
- RedM Framework or RSG Core or Vorp Core
- RedEM:RP or RSG Inventory or vorp_inventory
- ox_lib (for RSG)
📝 Notes:
- The "buckethead" item must be configured in your inventory with canBeUsed = true.
- No additional dependencies are required.
- All effects are applied only on the client side of the player with the bag.