Skip to content

MalibuTechTeam/mbt_malisling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Take your weapon experience to the next level! With cool features like visible weapons, realistic jamming chance based on weapon durability, dropping equipped weapons on death, throwing weapons and holster animation, you get a more engaging and immersive gameplay experience. Check it out now!

Dependencies:

⚠️Important:

The resource has been tested ONLY on Ox Core and ESX and ONLY with a restricted amount of players
In order to allow the holster feature to work, the functions Weapon.Disarm and Weapon.Equip have been slightly edited and appended after the existing ones
Don't know if it was the best option, but its the one popped up in my head
This also means that any update of ox_inventory that invoves them, can break the script behavior

Features

  • ESX/OX/QB compatible
  • Very low CPU usage
  • Weapon attached to player based on type
  • Holster animation
  • Synced attachments
  • Flashlight state synced
  • Flashlight working on back
  • Jamming chance based on weapon state
  • Equipped weapon drops on death
  • Export for dropping equipped weapon from hands
  • Throw weapons away ad turn them into drops
  • Easily config script with your own event to fit your needs
  • Customizable weapon position
  • Customizable weapon position for jobs and gender
  • Customizable animations
  • Customizable jamming chance
  • Customizable throwing power (based on weapon groups)
  • Customizable labels
  • Customizable notifications (Preset with ox_lib)
  • Customizable UI Help (Preset with ox_lib)
  • Customizable skillbar event(Preset with ox_lib)

Usage

Put the script in your resource directory
Ensure it after ox_inventory
After the first start, restart the server (so the convar of sling can work properly)
Open the config.lua and read it carefully
Set the weapons type to suit your tastes (or add other ones) in the data/weapons.lua

Common Issues

Some attachments are not applying properly to attached weapon

It seems its some kind of limitation of GTAV (as far as i know) If someone has some info about it, we will be very happy of receive a PR

Media:

DMCA Protection Certificate

image

Copyright © 2023 Malibú Tech. All rights reserved.