Comments (7)
Nice one on the fix, but now it does not load them at all unless you restart script.
from keep-oilwell.
it's strange they are using the same functions there is no different between them
from keep-oilwell.
no idea bro, once servers up and running i need to restart script in order for props to spawn..
from keep-oilwell.
there is an event called 'QBCore:Client:OnPlayerLoaded' try to find it and put a print('test') after Wait.
then restart your client and check if it gets triggered or not!
from keep-oilwell.
Ok so i noticed in the updated version you have it does a job check to make sure they have the job, i removed this to look just how you have it and it now works.
This is how your released version looks:
if PlayerJob.name == 'oilwell' then
OnDuty = PlayerData.job.onduty
loadData()
end
i also noticed no matter what parts you put in the stash it takes everything when fixing it, so if i put 100 of one part it takes all 100 when doing a repair.
Thanks for the tips bro, 'keep' up the good work
from keep-oilwell.
got i fixed job check in my uncommitted version. (it's gonna be a big rework!)
about parts, it might be annoying but i wanted to be players to think about how much they are willing to put in there.
and somewhat scared of using it to hide stuff inside the oil wells.
it was auto removal at first every 10 sec but it was using too much resources.
from keep-oilwell.
got i fixed job check in my uncommitted version. (it's gonna be a big rework!)
about parts, it might be annoying but i wanted to be players to think about how much they are willing to put in there. and somewhat scared of using it to hide stuff inside the oil wells. it was auto removal at first every 10 sec but it was using too much resources.
oh i see, i never knew this when i first tested it lol, i was like what the hell it took everything, im sure i could code it how i want it i guess, i dont like editing peoples code much, makes it easier to do updates that way lol
from keep-oilwell.
Related Issues (15)
- issue HOT 21
- sql error HOT 1
- view info sometimes returns different parts status for different people
- I have issue with blender panel HOT 2
- Cant change the color. HOT 2
- suggest
- Pump Menu Blank HOT 1
- Help HOT 4
- Oilwell invisible to other players HOT 1
- Sorry, heres my next one :( HOT 4
- a couple more issues.
- Suggestion HOT 3
- qb-target issue HOT 1
- PlayerJob 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 keep-oilwell.