GithubHelp home page GithubHelp logo

ik-blackmarket's People

Contributors

bentix-cs avatar i-kulgu avatar wesleymoura avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ik-blackmarket's Issues

[BUG] Random Location not synced between players

It seems like when you use the random location feature, it is specific to the player. So say I have locations A and B, for me it could be at location A, but for another player it could be at location B. Is there any way to fix this? I just updated to the most recent update.

[BUG] RandomItemAmount showing double the input value

Setting the random item amount in the config gives double the entry provided. i.e. I put 1 in the config and see 2 items in the shop.

My config (1 item to sell):

Config = {
	Debug = false, -- Enable to add debug boxes and message.
	img = "qb-inventory/html/images/", -- Set this to your inventory
	MaxSlots = 41, -- Set this to your player inventory slot count, this is default "41"
	Measurement = "kg", -- Custom Weight measurement
	RandomLocation = true, -- Set to true if you want random location. False = create for each location a blackmarket
	RandomItem = true, -- Set to true if you want a random item. False = show all items
	RandomItemAmount = 1, -- Amount of random items
	OpenWithItem = false, -- Is there an item needed to open the blackmarket ?
	ItemName = "blackpass", -- If you set the above function to yes, place here your itemname
	RemoveItem = false, -- Do you want to remove the item after purchasing something from black market
	UseDirtyMoney = false, -- Do you want to use dirty money like blackmoney / crypto. Set to false if you want pay with normal money
	Payment = "blackmoney", -- Choose between blackmoney / crypto (default q-bit crypto)
	BlackMoneyName = "markedbills", -- If the option above is blackmoney then set the name of the black money item
	BlackMoneyMultiplier = 1.2, -- Where 1 is 100% and 2 is 200% etc, 1.2 if 120%
	UseTimer = true, -- Use a timer to change the blackmarket location
	ChangeLocationTime = 30, -- Time in minutes to change the location of the black market.
}

My in game seller (Selling 2 items):
image

This happens for other numbers as well, 2 sells 4, 4 sells 8, etc.

error

[script:ik-blackmarke] SCRIPT ERROR: @ik-blackmarket/server.lua:89: attempt to index a nil value (global 'info')

console errors.

image

I love your script! But this needs to be cleaned up.
Hope that you can resolve this.

Greetings!

Ped delete from one location will never respawn

Once a ped has been deleted when using the timer function, if the random location ever goes back to where the deleted ped was. The script cannot create a new ped in the location only the targetzone is recreated.

question

will you be adding OpenWithItem and ItemName back in, as found that helpful.

thanks

Amount not amount?

When adding items, it appears that the item is unlimited not limited to 100 or 200 pr. server restart,

Is that a bug ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.