Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/01/19 in Posts

  1. Hi everyone! Two words about me: My name is Mark. Im working as junior fronted developer. What is this? My open source role play server. I think, it can help some new developers learn and start a project. I'll develop it via github: https://github.com/MarkCavalli/rageserver I will be glad to see any improvements: code review, pull requests, language improvements (My native language is Russian). Also you can quickly connect and test it How to install: https://github.com/MarkCavalli/rageserver Features: Log In/Sign Up Module Server saves player's position on disconnect. (/save) command for development simulate disconnect. MoneyAPI Module -bank account and tax account. - ATMs Character Creator Module Jobs: - Orange Collector Businesses: - Clothing Shops Future plans: - New jobs
    1 point
  2. Is there a way letting the running server reloading my javascript files? npm run watch always rebuilds index.js on changes but the server doesn't auto-re-load this file. Is there a way to enable an event with maybe params?
    1 point
  3. If you're in development environment just use nodemon $ nodemon --watch packages --watch client_packages --exec \"./server.exe\"
    1 point
  4. You can use a process manager for that (pm2): npm i -g pm2 # install pm2 cd /your/ragemp/server-files pm2 start server.exe --watch # starts the server.exe in watch mode. it will restart on any file changes inside the server-files folder pm2 stop server --watch # its important to stop it with the --watch flag otherwise it will still restart. pm2 logs server # will show you the logs
    1 point
  5. Managed to get it to work in the current version. The script is not always finding the elevation at the waypoint position though (getGroundZFor3dCoord returning 0), if that happens it will not teleport you and output a chat message. Also I am using a command (/tp) instead of a keybind. Code (a bit messy, since for development purposes):
    1 point
  6. Hello Guys, Today i would like to introduce my first simple resource to the public people. Vehicle indicators Vehicle indicators are the main thing in role-play. Without it you can't role-play while driving or you can cause accidents. So i did that simple resource to give some help to the community You can now download it by the following link: Download Don't forget to require it in your client-side by doing: require('indicators.js') Here is a Gist to see source code Feel free to update, copy, or change in the code. I hope you enjoy the resource, if you find any bugs please post in that topic.
    1 point
×
×
  • Create New...