Giter Site home page Giter Site logo

enc0ded / enc0ded-persistent-vehicles Goto Github PK

View Code? Open in Web Editor NEW
19.0 6.0 24.0 72 KB

Mod for FiveM OneSync Multiplayer servers

Home Page: https://discord.gg/wNChXdB

License: MIT License

Lua 100.00%
gta5-mod fivem mod onesync onesync-multiplayer-servers

enc0ded-persistent-vehicles's People

Contributors

enc0ded avatar ffrankys avatar hatchett avatar josh-tf avatar knaak53 avatar thisneq avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

enc0ded-persistent-vehicles's Issues

Making buyed Vehicle Persistent

Hello there,

I tried to register the buyed Vehicles from the esx_vehicleshop Persistent, but doesn't seem to work for me. Got nothing when I pv-to-save-file in the json file ...

If someone can help, would be grateful.
Thanks a lot.

`Persistent Vehicles: Waited too long for the clients to respawn vehicles´

Hello. So i'm not sure, but sometimes i got this message:
Persistent Vehicles: Waited too long for the clients to respawn vehicles

Basicly, if i saved example three car around map, restart server and and join back to server. Other two car got deleted, but latest vehicle duplicates three times. I'm not sure what cause it.

photo

cars spawn when nearby

sometimes you don't see cars, but when you drive into some place, they respawn and show that you crashed into it. newest artifacts 3020 and with 80 players, no hitch warning or errors.

Double cars

I saved cars around map. For some reason first registered car spawn to some other car. Check video. I saved cars, restarted server and then this happen. [VIDEO]

https://streamable.com/ncrv32

Vehicle's not repopping

So my problem is not that the basic repopping doesnt work. The main problem is, that we have 2 main Server-Restarts. One in the early morning, and one in the evening. So If I park my Vehicle at night in front of my house, I leave and it won't get repopulated because noone is in the area if my vehicle, it won't save to the file and at the Restart in the evening it's gone.
Is there any solution?

Ty btw for this great script

Working with OneSync infinity?

Hey,

we have a trouble on OneSync Infinity with user cars. After few seconds when you leave your car, car entity dissapear. We finding solution for fix this. This resource can fix our issue?

Thanks for help

Users crashing due to max vehicle setting?

I went to sleep after getting the resource running properly. I then woke up and shortly after about 9 hours and possibly even before i'm not sure. Users were crashing with this error. I have disabled the resource and it has stopped the crashing.

image

error while encoding 'number'

I spawned 300 Vehicle on the Map (on different places)
and when i restart the server i become this error:

`SCRIPT ERROR: @enc0ded-persistent-vehicles/server/main.lua:247: error while encoding 'number'

SavedPlayerVehiclesToFile (@enc0ded-persistent-vehicles/server/main.lua:247)
handler (@enc0ded-persistent-vehicles/server/main.lua:37)
fn (@enc0ded-persistent-vehicles/server/main.lua:413)`

https://prnt.sc/tru4bf

edit: all Vehicles are saved in the file

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.