1. Check out the Store if you're looking to Buy HL2RP or other schemas for your server. You can click Buy Schemas on the very top navigation bar to visit the store.
  2. Use the Plugin Center to easily subscribe to and auto-install Clockwork plugins to your server, or submit and share plugins you have developed.
  3. Having trouble setting up or developing with Clockwork? Check out the Wiki or post in the Support Forum for advice from fellow users.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

Salesman setting

Discussion in 'Development' started by G13|Твой капитан, Nov 5, 2018.

  1. It's me again
    I need help with Salesman
    He sells 5x items
    How to fix it
    • Funny Funny x 1
  2. vexus

    vexus ej rockwell's worst nightmare Staff Member Head Moderator Legend Clockwork Customer Active Member


    It'll be a setting in there.
    • Like Like x 1
    • Informative Informative x 1
  3. Aspect

    Aspect =) Veteran Clockwork Customer Active Member

    Go up to the salesman and type "/salesmanedit" (Make sure you have Admin perms).
    After that, go to settings and switch "Sell in shipments" (I think that's what it's called, haven't played in a while) off.
    • Like Like x 1
    • Good Coder Good Coder x 1
  4. Thanks
    • Informative Informative x 1
    • Friendly Friendly x 1
  5. NoahtheBoah36™

    NoahtheBoah36™ Clockwork Retard Clockwork Customer Active Member

    While your question has been answered, I'll give you a tiny bit of fundamental reasoning as to why "shipments" consist of 5 items in case you wish to learn a bit about the development side of CW (which I assume you do since you're here, posting in the development section).

    By default, a "shipment" in Clockwork is considered 5 of an item, and so when items are spawned from the business menu, they are sold in groups of 5.

    If you make custom items, and/or want to edit the existing items (which is best done through a plugin if you can figure out how to do that), you can add a line of code like the one below:

    ITEM.batch = 1;
    This will set the shipment size to 1, or if you change the number from 1 to something else, you can have it sell in shipments of 3, or 12, or whatever number you want.

    That being said, I don't know if you'll even use this, but I figure I'll put it out there in case you want to know.
    • Like Like x 1

Previous Readers (Total: 0)