Code Monkey home page Code Monkey logo

weapons-on-back's Introduction

Weapons On Back

Looking for a framework-independent script to make weapons show up on a player's back if they have it in their weapon wheel? Look no further! This is a great script for RP servers.

Screenshot

weaponsonback|690x388

(notice the cops with weapons on their backs)

Features

  • Standalone
  • Synced across all players
  • Easy Install

Installation

  • Download from here.
  • Put the weapons-on-back folder into your server's resources folder.
  • Add start weapons-on-back to your server's server.cfg file.
  • Enjoy!

weapons-on-back's People

Contributors

minipunch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

weapons-on-back's Issues

vehicle tornado issue

I think it's cause the gun object collisions conflict with the vehicle collisions when u get in so it causes ur car to go wild and look like it was caught in a violent tornado until u jump out

should try just disabling collisions for the created weapon objects as a fix and see if that does it

make sure it works with qb core + other popular inventory frameworks

this is currently built with having the expectation that the player stores their weapons in their weapon wheel when stored

some frameworks only actually give the player any weapon when it is equipped, therefore stored weapons won't show up on back since they are not actually in the weapon wheel

that is probably the largest issue, not sure if there are any other ones

Doesn't work on spawn in

When first spawning into the server, the weapons float where they spawned and then stay there until the player equips and unequips the weapon.

Anyone trying to "hide" the fact that they have rifles on them can easily log out and back in.

RoutingBucket changes

Hey there, I tried to make this compatible with changing a Routing Bucket. We use serveral scripts, which use this feature. The Problem ist, that the weapon is not changing the bucket. And if you come back, it is stuck on your back.

I tried to delete the weapon object across the bucket but that does not work. So maybe you got a good suggestion about this?

Doesnt holster

Hello. I am using a qb server and when i holster my weapon it doesnt show on my back. Can you send me a message on discord? this is my account: LTChamp#3122
Thanks

Limit 1 weapon on back at a time

Hi,

How do I limit it to show only 1 weapon the back at a time? I am using this re-posted version but can't figure it out. Sorry I'm not very good with coding yet.

Can anyone please help?

Help

Couldn't load resource weapons-on-back-1.1: Couldn't load resource weapons-on-back-1.1 from resources:/weapons-on-back-1.1/: Could not open resource metadata file resources:/weapons-on-back-1.1//__resource.lua.

This only half works

It removes the weapon from your back if you equip your fists. It only works if you equip another gun itll stay on your back.

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.