https://github.com/Dimmies/Onset-CoordsToFile
https://github.com/Dimmies/Onset-CoordsToFile
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/Dimmies/Onset-CoordsToFile
- Owner: Dimmies
- Created: 2020-01-02T20:57:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-29T15:11:28.000Z (almost 5 years ago)
- Last Synced: 2024-11-12T15:43:17.671Z (6 months ago)
- Language: Lua
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-onset - CoordsToFile - Super simple package to obtain coords without the tedious copy/pasting. (Packages and Plugins / Admin)
README
# Onset-CoordsToFile
Super Simple Package for those who want a quick solution to obtaining coords without the tedious copy/pasting.
### Installation
Just like everything else in Onset, clone/download and put `savecoords` in your packages folder.### Usage
Use the command `/pos `
You can find the coords file in you server files (where your OnsetServer exe is) named `(yourname)-SavedCoords.txt`*Note, this file is created automatically if it doesn't already exist*
### Changing how coords save
You can change the format of how coords save in `sv_main line 13` For example, if you want to save coords into a table, you can use `file:write(name ..' | {'.. '["x"] = ' ..x.. ', ["y"] = ' ..y.. ', ["z"] = ' ..z.. '},\n')`*Note, use \n at the end of the write to go to the next line.*