wasvendel_sellshop
wasvendel scripts
wasvendel_sellshop
wasvendel scripts
wasvendel_sellshop.wasvendel_sellshop folder into your server's resources directory.server.cfg after your framework core.Edit config.lua to configure shop locations, accepted items, prices, bargaining, and police alerts.
Sell shops can be linked to wasvendel_blackmarket locations.
| Event | Payload | Description |
|---|---|---|
wasvendel_sellshop:openshop | inventoryData, shopname, enableBargaining, alertpolice, showplayer, Framework | Opens the sell shop UI. |
wasvendel_sellshop:checkopeninghour | closestData | Returns the opening hour check result. |
wasvendel_sellshop:openLinkedShop | linkedShop | Opens a linked blackmarket shop. |
wasvendel_sellshop:alertpolice | coords | Sends a police alert. |
wasvendel_sellshop:starttracking | None | Starts player tracking. |
wasvendel_sellshop:updateblip | targetPlayerId, playerCoords | Updates the tracking blip. |
wasvendel_sellshop:removeblip | targetPlayerId | Removes the tracking blip. |
| Event | Payload | Description |
|---|---|---|
wasvendel_sellshop:checkplayeritems | closestShop | Validates player items and opens the sell shop. |
wasvendel_sellshop:finalizeDeal | data | Completes the sale. |
wasvendel_sellshop:getShopData | shopId | Retrieves linked shop data. |
wasvendel_sellshop:closedshop | None | Marks the shop as closed. |
| Event | Resource | Description |
|---|---|---|
wasvendel_blackmarket:returnShopData | blackmarket → sellshop | Returns linked shop data. |