https://github.com/blnstudio/bln_multicoords
A simple developer resource for RedM that allows you to collect coordinates with heading (vector4) by walking around the map. Perfect for creating locations, spawn points, or any other position-based data for your RedM scripts.
https://github.com/blnstudio/bln_multicoords
cfx fivem lua redm
Last synced: 22 days ago
JSON representation
A simple developer resource for RedM that allows you to collect coordinates with heading (vector4) by walking around the map. Perfect for creating locations, spawn points, or any other position-based data for your RedM scripts.
- Host: GitHub
- URL: https://github.com/blnstudio/bln_multicoords
- Owner: blnStudio
- License: agpl-3.0
- Created: 2024-10-30T20:06:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-29T07:48:33.000Z (about 1 year ago)
- Last Synced: 2025-03-29T08:28:34.650Z (about 1 year ago)
- Topics: cfx, fivem, lua, redm
- Language: Lua
- Homepage: https://discord.com/invite/MEZRYQVpnt
- Size: 1.85 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bln_multicoords

A simple developer resource for RedM that allows you to collect coordinates with heading (vector4) by walking around the map. Perfect for creating locations, spawn points, or any other position-based data for your RedM scripts.
[](https://youtu.be/QSGFewxUQ60)
[](https://discord.bln-studio.com/)


## Features
🎯 Collect coordinates (vector4) by walking and pressing keys
🎨 Visual markers showing collected points
🧠Direction indicators showing heading
🚫 Prevents duplicate/too close positions
📋 Automatically copies coordinates to clipboard in Lua table format
💬 On-screen notifications for actions
âš¡ Simple to use with basic commands
🔄 Clean and optimized code
## Installation
1. Download the resource
2. Place `bln_multicoords` folder in your resources directory
3. Add `ensure bln_multicoords` to your server.cfg
## Usage
1. Start collecting coordinates:
```
/mcoords
```
2. Controls:
- `ENTER` - Add current position and heading to the list
- `BACKSPACE` - Finish collecting and copy coordinates to clipboard
3. Visual Feedback:
- `Yellow markers` show collected positions
- `Red markers` indicate heading direction of a coord.
- Text notifications appear for actions
## Example Output
```lua
{
vector4(-1245.12, 2687.32, 62.94, 175.45),
vector4(-1267.89, 2699.54, 63.12, 89.67),
vector4(-1289.34, 2701.87, 63.45, 265.89),
}
```
## Notes
- The resource prevents collecting duplicate points that are too close to each other (within 1.0 units)
- Coordinates are automatically copied to clipboard when finished
- Visual markers remain visible while collecting to help visualize the path
- Heading is shown with a red marker pointing in the facing direction
## Support
Join our Discord for support and updates:
https://discord.com/invite/MEZRYQVpnt
## License
Free to use and modify. Please retain credits if redistributing.