Giter VIP home page Giter VIP logo

getspawnpoints's Introduction

getSpawnPoints

A simple script that grabs the player's current position and saves it to a json file.

Install:

In the resources folder, create a folder & extract the contents of the downloaded zip into the new folder (you can name the folder whatever you want, in my case I named the folder getSpawnPoints so you can type "start getSpawnPoints" in your console to start the resource).

Usage:

Once in-game and the resource is started, press the tilde key (`) to obtain the current position of the player.

  • The current position will be shown in the F8/server console when (`) has been pressed.
  • Position will also be saved to a json file, which you can locate in your resource folder where you extracted the zip. \resources[youResourceFolder]\getSpawnPoints\positions.json
  • Each new position acquired will update the JSON file in a table for that particular session, it will NOT create multiple JSON files.
  • If you delete the positions.json file, it will automatically create a new one.

getspawnpoints's People

Contributors

vtonu avatar

Watchers

 avatar

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.