Garry's Mod Leaks

[LEAK] Zeros Vendingmachines ? (Shop Script)

Submitted by ForTrueGmod, , Thread ID: 158775

Thread Closed
15-02-2020, 07:47 PM
#1
https://www.gmodstore.com/market/view/6563

Zeros Vending machines gives you a fast and easy way to Sell and Present Items to your Players.

[b]Spawning:[/b]
  • Simple spawn the machine from the SpawnMenu and place it somewhere on the Map.

[b]Duplicate:[/b]
  • If you already have a Vending machine setup and just want to duplicate it, then simply use the Duplicator Toolgun.

[b]Mirroring Vendingmachines:[/b]
  • If you want that every vendingmachine on the server has the same products and design then just look at the template machine and type
    zvm_vendingmachine_mirror
  • in the console.
[*]
[b]Adding Products:[/b]

  1. If you are an Admin (specified here zvm.config.AdminRanks) then there will be an Edit Button on the Top Right corner of the machine.
  2. In config menu simply press the "Edit Products" Button.
  3. Now the Vendingmachine allows to new Items to be added/edited.
  4. Collide a the Entity you want to add with the machine. (zvm.config.Vendingmachine.AllowedItems / BannedItems)
  5. The Item should now appear in the list and you can press "E" on it to select it.
  6. The Buttons "Restrictions" , "Appearance" and "Change Price" should now be enabled.
  7. The Button "Restrictions" (Only for Public Vendingmachines) lets you define which Rank / Job Groups are allowed to buy the item. (zvm.config.Vendingmachine)
  8. The Button "Appearance" lets change the Item Name and Background Color.
  9. The Vending machine can hold up to 12 Items.
  10. After you finished adding all the Items press the "Apply" Button.
[*]
[b]Visual Customization:[/b]

  1. In the config menu press the "Customization" Button
  2. The Customization Menu allows you to change the Skin, Color and Name of the Vending machine.
  3. Change it to your taste and press "Apply"
[*]
[b]Changing Money Type:[/b]
  • Admins can change the Moneytype of a Public Vendingmachine via the Machine Customization Interface.
  • Currently the Vendingmachine supports:
  • Money (DarkRP, Basewars, Nutscript)
  • Pointshop 1 Points
  • Pointshop 2 Points
  • Pointshop 2 PremiumPoints
[*]
[b]Saving:[/b]

  1. Type !savezvm in the chat and press enter
  2. Now every Vending machine with its Products and Customization is saved on the map.
[*]
[b]Item/Skin Requests:[/b]
  • Some entities have custom data which need to be predefined in zvm_itemdata_sv.lua
  • The Vendingmachine has currently 7 designs which should cover most RP Scenarios.
  • Future Updates will add more Entity Classes with custom data and Skins but you can allways open a Ticket and request them their.
[*]
[b]Private Vendingmachines:[/b]
  • Private Vendingmachines can be bought via the F4 Menu
  • Items in this Machine get used up so the Player needs to Refill the machine.
  • The Owner of the Vendingmachine has access to the Config and can withdraw the earned money via the Config Button "Payout"
[*]
[b]Entity Compatibility:[/b]
[*]
[b]EasySkins:[/b]
  • https://www.gmodstore.com/market/view/6740
  • If you are an Admin (specified here zvm.config.AdminRanks) then there will be an Edit Button on the Top Right corner of the machine.
  • In config menu simply press the "Edit Products" Button.
  • Look at a Public Vendingmachine and type in the chat
    !zvm_easyskins_add_SKINNAME

  • Or Look at a Public Vendingmachine and type in the console
    zvm_easyskins_add SKINNAME
[*]
[b]SH Accessories:[/b]
  • https://www.gmodstore.com/market/view/sh...ies-darkrp
  • If you are an Admin (specified here zvm.config.AdminRanks) then there will be an Edit Button on the Top Right corner of the machine.
  • In config menu simply press the "Edit Products" Button.
  • Look at a Public Vendingmachine and type in the chat
    !zvm_shaccessories_add_ITEMID


  • Examble: !zvm_shaccessories_add_pumpkinhat

[*]
[b]Adding Weapons without Physics Model:[/b]
  • You can add weapons that dont have a physics model by looking at a public vendingmachine and type these commands.
  • Weapons which get added this way will directly be given to the player who unpacks the package instead of dropping them.
  • Chat: !zvm_customweapons_add_WEAPONCLASS
  • Console: zvm_customweapons_add WEAPONCLASS
[*]




Content locked
This content has been locked. Please login or register in order to unlock it.

RE: [LEAK] Zeros Vendingmachines ? (Shop Script)

#2
hi how to i put armor suits like from the armor9 addon in the vending

Users browsing this thread: 1 Guest(s)