GPS System
Introduction
Hate-GPS is an advanced GPS system for FiveM servers that allows players to share their location with others using frequency channels. The system includes a dynamic map interface with multiple style options, waypoint functionality, and real-time player tracking.
Features
Framework Support: Compatible with both ESX and QBCore frameworks
Frequency System: Players can join specific frequency channels to share their location
Multiple Map Styles: Includes Satellite, Atlas and Grid view options
Waypoint System: Set custom waypoints with coordinates
Real-time Tracking: See other players on the same frequency in real-time
Item-based Usage: Requires a specific item to use the GPS
Responsive UI: Clean and functional user interface
Installation
Extract the resource to your server's resources folder
Add
ensure hate-gps
to your server.cfgEnsure the required item exists in your server's item database
Restart your server
Configuration
The configuration file (config.lua
) allows you to set the following options:
Framework Detection
The script automatically detects whether you're using ESX or QBCore:
Usage
For Players
Have the GPS item in your inventory
Use the GPS item to open the interface
Set a frequency between 1.1 and 99.999 to connect with other players
Use the map interface to see your location and others on the same frequency
Set waypoints by entering coordinates
Toggle the map style using the L key
Toggle cursor mode with the X key
Press ESC to close the GPS interface
Controls
X: Toggle cursor mode (when GPS is open)
L: Toggle between map styles (Satellite, Atlas, Grid)
ESC: Close the GPS interface
Functions and Exports
Since the client and server files are protected (escrow), specific exports are not documented. The resource is designed to work out of the box with the provided configuration file.
Item Setup
Ensure you have the GPS item (gps
by default) registered in your server's item database:
QBCore
ESX
Technical Information
The system works by allowing players to:
Join a specific frequency channel
Share their coordinates and heading with other players on the same channel
View other players' positions in real-time on the map
Get notifications when players leave the frequency
When players disconnect from the server, their markers are automatically removed from other players' maps.
Security Notice
This script is protected by FiveM's escrow system. The client and server-side code is encrypted and cannot be modified.
Last updated