[FilterScript] Weapon Crates
#1

Weapon Crates


This is a dynamic system, you can create crates and put weapons inside of them, aswell as pick them up and take them with you, it uses MySQL ofc. Rcon admins can create/destroy/teleport to/reset crates. Players can buy crates for a cost defined by you.

Configuration
  • #define MAX_CRATES - The maximum amount of crates, by default its 500.
  • #define CRATE_COST - The cost of each crate for players, by default its $10,000.
  • MySQL information can be changed at lines: 20, 21, 22 and 23.
Pictures Commands & Information

    Player Commands:
  • /crate - Will show you the crate dialog. By selecting a row with a weapon in it, it will be given to you.
  • /buycrate - Will spawn a crate at your position for a cost.
  • You must press Y to drop a crate, if you have one in hands.
  • If you Spawn/Die/Disconnect while having a crate in hands, it will automatically be dropped at your current position.
    Rcon Commands:
  • /cmenu - Will show you the rcon dialog.
  • /ctest - Will give you a desert eagle, the purpose of this command was test the system.
Includes/Plugins Download

    Table:     Filterscript:
Reply


Messages In This Thread
Weapon Crates - by Jelly23 - 20.11.2016, 15:11
Re: Weapon Crates - by Jelly23 - 20.11.2016, 15:24
Re: Weapon Crates - by MikeB - 20.11.2016, 15:46
Re: Weapon Crates - by Jelly23 - 20.11.2016, 17:35
Re: Weapon Crates - by MikeB - 20.11.2016, 18:27
Re: Weapon Crates - by RyderX - 20.11.2016, 18:49
Re: Weapon Crates - by Jelly23 - 21.11.2016, 19:36
Re: Weapon Crates - by Jelly23 - 22.11.2016, 11:13
Respuesta: Weapon Crates - by Gles - 23.11.2016, 22:40
Re: Respuesta: Weapon Crates - by Jelly23 - 24.11.2016, 01:49
Re: Weapon Crates - by saffierr - 20.01.2017, 08:04
Re: Weapon Crates - by Jelly23 - 20.01.2017, 15:48

Forum Jump:


Users browsing this thread: 1 Guest(s)