Coder Social home page Coder Social logo

mbt_malisling's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.