yetzt / rust-grid

Get the map grid cell reference for position in uMod/Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a plugin or the uMod plugin system for the game Rust.

This plugin calculates the map grid cell reference for a position

Chat Commands

  • /grid – Displays the grid cell of your current position

Developer API

This plugin is meant to be used by other plugins that want to display the grid reference of something, giving players an intuitive way to understand the rough location of something.

string getGrid(Vector3 position)

returns the grid cell for a Vector3 as string

Example

string grid = (string)Grid.Call("getGrid", foo.transform.position);

License

This plugin is free and unemcumbered software released into the public domain. For more information, see the included UNLICENSE file.

About

Get the map grid cell reference for position in uMod/Rust

License:The Unlicense


Languages

Language:C# 100.0%