Comments (7)
I wont say Ive searched every corner of the galaxy for a solution to this but I have done a fair amount of checking. Just looking for a "Is_Sold = False" function to tag onto these things.
from darkrpmodification.
Ask the authors of your dealer and inventory addons. I don't own those, so I can't influence their behaviour.
from darkrpmodification.
Not looking for you to influence the behavior of other addons. My "dealer" addon is just a gun dealer and black market dealer job on DarkRP and its the removal of old shipments that caused the problem, not the handling of the situation via the inventory addon. The ability to disable shipments without commenting them out seems to be fairly simple functionality that could be expanded upon over time. Like a built "in sell and display only if <usergroup/job/team/permission/playermodel/cooljoke/command/etc.> = true"
or even the ability to do allowed = { nil }, to make it so the shipment is present but not being sold. Could be useful in spawning in pre-made shipments to make sure everything is working in terms of ammo count, model, etc.
You already have a couple things that are pointed to the more specific situations like onBought or getPrice. In my opinion something like the above would have at least some relative use compared to some other suggestions made in the past.
from darkrpmodification.
You can make them invisible and unbuyable with the existing options. There's no need for me to make another option for things you can already do. Especially since you only want it because your inventory addon has some weird behaviour.
from darkrpmodification.
Could you pretty please show me what Id have to do to make it work with the existing options? An example if possible.
from darkrpmodification.
http://wiki.darkrp.com/index.php/DarkRP:CustomShipmentFields
Setting customCheck
to function() return false end
end should probably do the trick, depending on the F4 menu and settings you use.
from darkrpmodification.
Alrighty. Thank you.
from darkrpmodification.
Related Issues (20)
- I get this issue but unsure why
- darkrp data not writing to database. HOT 2
- setBodygroup doesn't change anything HOT 1
- customcheck not works HOT 2
- This is not a help forum. HOT 1
- settings.lua not functioning correclty HOT 3
- editing files HOT 1
- Sos
- Custom things aren't working HOT 4
- Police commands issue HOT 1
- Error with custom darkrpmodification files HOT 1
- DarkRP, HUD, F4, Scoreboard, Gray Playermodel issue HOT 1
- Some translation strings are not working HOT 9
- Spawns and Doorgroups not saving HOT 1
- I think i'm going insane over this. HOT 1
- ERROR HOT 1
- PocketBlacklist in settings.lua not doing anything HOT 2
- No HungerMod in settings.lua HOT 1
- language change HOT 8
- Hi problems HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from darkrpmodification.