Pawnshop Locations
Adding more Pawnshop locations
Adding more pawn shop locations is very simple via Config.Pawnshops
Define the location for the shop in the coords field
If you want a ped to spawn ensure you set usePed to true and then define which model you want to spawn otherwise it will spawn a circle zone to target
Choose which payment type you would like for that specific pawnshop either cash, bank or dirtycash
If using dirty cash ensure you have the correct item name assigned in
addMoney
function inpawnshops_server.lua
Player owned pawn shops
To set a player owned pawnshop you must enabled playerOwned to true and then define the relevant information required ( citizen id, stashLoc and marketPlaceLoc )
owner must be the citizen id of the player
stashLoc
must be avector3
location for where the counter is locatedmarketPlaceLoc
must be avector3
location for where the market place selling menu is located
Blips
To use blips for the pawnshops set enabled to true and then define the relevant information
Open / Close Times
To set store opening and closing times ensure you have set enabled to true and then define the opening and closing times ( this is in a 24 hour clock format)
Items
To add items that can be sold at that pawnshop you must define them in
itemsAllowed
The
key
is the item name this must be in your items.luaThe
price
is the value of that itemPER UNIT
if being sold at aNON PLAYER OWNED
The
ownedPrice
value is the value of that itemPER UNIT
if being sold from the owner at aPLAYER OWNED STORE
For player owned stores set this value slightly higher so the store makes a profit
Last updated