Skip to content
This repository has been archived by the owner on Nov 28, 2020. It is now read-only.

ekralc/holsters

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Holsters

This is a resource for the Grand Theft Auto V multiplayer mod, FiveM, which is inspired by the Cop Holster script on LSPDFR. It automatically changes ped components when a player draws or holsters a weapon.

License

You can edit and redistribute under the terms in the LICENSE file. Even though this resource is relatively simple and condensed, I've put in a lot of work to make it so. All I ask is that you don't steal my work and take credit for it; it's very simple.

Information

How does this work?

Many ped models used in GTA V (especially ones derived from the base game) have variations of the duty belt with and without guns in the holster. This script puts these variations to use by automatically changing components when the player draws or holsters a weapon. It's fully configurable and supports an unlimited number of peds.

Does this support EUP?

Yes, the default config file is preconfigured with the default holsters for both male and female peds. However, you may need to configure this a little to accomodate any different holsters.

Does this have animations?

No, but this is something I'm going to look at adding, along with configuration for more than just one type of weapon.

Installation

  1. Download the latest release as a zip file, or clone the repository using Git.
  2. Put it in your resources folder.
  3. Add ensure holsters to your server.cfg to ensure it is run on start-up.
  4. Optional: Edit config.lua to your liking, scroll down further to learn how to.

Configuration

Commands

/holsters <on/off>

Toggles the resource on and off, if on/off is not specified then it will toggle.