1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. GTA Network forum is now in archive mode.

Gun Racks

Discussion in 'Scripts' started by rootcause, Apr 25, 2017.

  1. rootcause

    rootcause Member

    Messages:
    18
    Likes Received:
    63
    Joined:
    Jan 2, 2017

    Settings (meta.xml)
    • rackDir - Folder name of the save files. (Default: RackSaveData)
    • rackPrice - Price of a gun rack. (Default: 2500)
    • rackLimit - Amount of gun racks a player can own, write 0 to disable. (Default: 5)

    Commands
    • /buyrack - Buys a gun rack and places it in front of you.
    • /managerack, /rack, /gunrack - Opens the management menu for the closest gun rack. (if you're the owner)
    • /putgun - Opens the put gun menu for the closest gun rack*.
    • /takegun - Opens the take gun menu for the closest gun rack*.

      * Everyone can put/take guns if you unlock your gun rack but as long as it's locked, only you can access it.

    Notes
    • You can find the source code in Source folder inside the archive.
    • MoneyAPI is required for this script to work.

    Download
    MediaFire »
    or you can use the attachment
     

    Attached Files:

    Jadeclon, Colm, « Joseph » and 2 others like this.
  2. Vagabonden

    Vagabonden Member

    Messages:
    28
    Likes Received:
    2
    Joined:
    Mar 24, 2017
    Whup whup :=D Well done!
     
  3. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    Nice, but.. why is this all via chat commands? You should add the ability to open that put/take menu with a Use button or so. Maybe even automate Put so you don't need a menu for it.
     
  4. Kiase

    Kiase Member

    Messages:
    15
    Likes Received:
    1
    Joined:
    Mar 20, 2017
    Awesome, with your permission I'm going to have fun with that.
     
  5. Vikos Taredi

    Vikos Taredi Member

    Messages:
    12
    Likes Received:
    0
    Joined:
    Apr 7, 2017
    Why "MoneyAPI is required for this script to work."?
     
  6. root

    root Well-Known Member

    Messages:
    244
    Likes Received:
    88
    Joined:
    Aug 15, 2016
    Becouse it costs money to create a gunrack.
    You can delete that part and it should work fine.
     
  7. Vikos Taredi

    Vikos Taredi Member

    Messages:
    12
    Likes Received:
    0
    Joined:
    Apr 7, 2017
    Thanks
     
  8. Pascal_Vegas

    Pascal_Vegas Member

    Messages:
    33
    Likes Received:
    6
    Joined:
    Feb 12, 2017
    Because he is from sa:mp and sa:mp likes Commands :=) // as always Good Work @root
     
  9. root

    root Well-Known Member

    Messages:
    244
    Likes Received:
    88
    Joined:
    Aug 15, 2016
    Don't give me the credit for @rootcause work ;-)
     
  10. Pascal_Vegas

    Pascal_Vegas Member

    Messages:
    33
    Likes Received:
    6
    Joined:
    Feb 12, 2017
    Oh, there are two of you xD sorry for my misstake. @rootcause
     
  11. PlayboyD

    PlayboyD New Member

    Messages:
    2
    Likes Received:
    0
    Joined:
    Oct 16, 2016
    Really like this, well done!
     

Share This Page