[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
#2

Mediafire is also avaible.
Reply
#3

For some reason, the pastebin links are not working for me in any of your releases.
Reply
#4

Quote:
Originally Posted by MikeB
Посмотреть сообщение
For some reason, the pastebin links are not working for me in any of your releases.
Strangely, it's all fine.
Reply
#5

Quote:
Originally Posted by Jelly23
Посмотреть сообщение
Strangely, it's all fine.
Guess, pastebin's working now.
Reply
#6

Good Work
Reply
#7

Quote:
Originally Posted by RyderX
Посмотреть сообщение
Good Work
Thanks..
Reply
#8

Small update:

-Added ''Edit crate position'' in /cmenu.
http://imgur.com/ndQjLuZ

Download:

Solidfiles
Pastebin
Mediafire
Reply
#9

Very good job brother!
Reply
#10

Quote:
Originally Posted by Gles
Посмотреть сообщение
Very good job brother!
Thanks.
Reply
#11

You may want to use 'Update3DTextLabelText();' instead of deleting.
Reply
#12

Quote:
Originally Posted by saffierr
View Post
You may want to use 'Update3DTextLabelText();' instead of deleting.
And you might want to look into the code again, as you don't even know why i'm deleting it.

Of course, i'd need to delete it, otherwise you would see a 3d Label in the floor while editing it's position.

And do you realize, you can't change it's position with Update3DTextLabelText?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)