[Release] Easy Rack/Unrack Script

Easy Rack/Unrack Script

Direct Download: rack-unrack.rar (677 Bytes)
Github: https://github.com/ECLIP3S/rack-unrack.git

Installation:
Rename ‘rack-unrack-master’ to ‘rack-unrack’(If you downloaded through github)
Add ‘start rack-unrack’ to your server.cfg
Restart your server
Enjoy!

Features:
Easily rack and unrack your rifle and shotgun.

Commands: /rackr or /rackrifle, /racks or /rackshotgun, /unrackr or /unrackrifle, /unracks or /unrackshotgun

This is an edited version of @BabbaTundaee’s script.

Proof of permission: https://gyazo.com/71f1baf70cb0624a55843c3ab71fec5d

1 Like

Very nice! I like it!

Thanks

You could greatly improve this code by creating one function that takes a weapon model, name and toggle boolean which results in either adding or removing a weapon.

At this point what you pretty much did is copy aka_Lucifer’s code and change the weapon names. This is not considered of any additional value and resembles the original too much to not be considered your own code.

Unlisted until improvements are made.


1 Like

This code is an exact copy of what you used except you change function names and the type of weapon. You need to provide additional original work/content.

As an example, I mentioned that you can reduce the code and make it highly configurable by adding a function that takes in the parameters as mentioned.

If you don’t know what I mean, then this topic will remain unlisted as there’s no additional value of this for the forum/community.

There is a scripting help section on the forums & on discord.

I have permission to reupload this https://gyazo.com/a8dc827f0d6bc653db609684e58ce691

Have you made improvements? Like d0p3t asked for you to do.

I shouldn’t have to because I had permission to reupload, and I gave creds

Also still don’t understand what improvements he is talking about

You should at least make it configurable.

Since there are new rules, the moderation team put forth certain quality requirements. The original code is exempt from that.

Due to you only changing the weapon models, this release does not have any added value compared to the original release.

The least you can do is make this completely configurable where users can easily add a weapon hash and or weapon name and customize it. Much like the “Weapon blacklist” scripts.

The original release is closed and unlisted.