GithubHelp home page GithubHelp logo

Blinking props about keep-oilwell HOT 7 CLOSED

swkeep avatar swkeep commented on May 31, 2024
Blinking props

from keep-oilwell.

Comments (7)

QBLes avatar QBLes commented on May 31, 2024

Nice one on the fix, but now it does not load them at all unless you restart script.

from keep-oilwell.

swkeep avatar swkeep commented on May 31, 2024

it's strange they are using the same functions there is no different between them

from keep-oilwell.

QBLes avatar QBLes commented on May 31, 2024

no idea bro, once servers up and running i need to restart script in order for props to spawn..

from keep-oilwell.

swkeep avatar swkeep commented on May 31, 2024

there is an event called 'QBCore:Client:OnPlayerLoaded' try to find it and put a print('test') after Wait.
here
then restart your client and check if it gets triggered or not!

from keep-oilwell.

QBLes avatar QBLes commented on May 31, 2024

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.

swkeep avatar swkeep commented on May 31, 2024

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.

QBLes avatar QBLes commented on May 31, 2024

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)

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.