PivityGmodStore

Adding new Entity classes to Vendingmachine

You can use the config and hooks to add any kind of entity to the vendingmachine.

Some entities have custom data which needs to be saved / loaded using the hooks.

zeros_vendingmachines\lua\zvendingmachine\sh\zvm_config.lua

zeros_vendingmachines\lua\zvendingmachine\sv\zvm_hooks_sv.lua


Here is a examble on how a entitie with custom data gets saved/loaded

In the config we define the class of entities

In the hooks file we set what data should be saved / loaded


There are a lot of other hooks which you can use the modify certain events

Can't find what you're looking for?

Contact support