Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Vehicle Scripts

GPS Script FiveM

GPS (for ESX)

Frameworks:
  • ESX

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX
File size
2.7 kB
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

GPS Script

Follow cars by GPS device. This small ESX script (resource esx_gps) lets a player attach a tracker to a nearby vehicle; officers with the police job then see the vehicle's position on the map, refreshed at a set interval.

Preview

Features

  • /zalozgps attaches the GPS to the closest vehicle within 5 metres; the player has to be on foot and plays a mechanic animation for about 4 seconds
  • /zdejmijgps removes the active tracker
  • Tracked vehicles show as a blip only for players with the police job
  • One tracker is active at a time; attaching a new one stops the previous one
  • In-game texts are in Polish

Configuration

  • Config.zasieg: tracking range (default 228.0)
  • Config.odswiezanie: how often the position updates, in seconds (default 2)
  • Config.waypoint: set a GPS waypoint to the vehicle after every refresh for each police officer (default off)

The settings are in client/config.lua; the config comments are in Polish.

Requirements

  • ESX (loaded through the esx:getSharedObject event)

Installation

  • Copy the esx_gps folder into your resources
  • Add ensure esx_gps to your server.cfg

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

In your downloads
  • JG Dealerships
    • ESX
    • QBCore, Qbox
    Not for your framework

    JG Dealerships

    JG Scripts

    $30.00$21.00
  • Car Radio
    • ESX
    • QBCore, vRP
    Not for your framework

    Car Music System V3 [Standalone]

    $14.99$10.49
  • Simple ESX HUD FiveM resource preview
    • ESX
    • Standalone, QBCore, Qbox

    Airbags Script

    Big Daddy

    $9.00$6.30
  • mCarControl
    • ESX
    • QBCore
    Not for your framework

    CodeM mCarControl

    CodeM

    $5.00$3.50
  • Contract ESX
    • ESX
    Not for your framework

    okokContract

    okok Scripts

    $13.99$9.79
  • Quasar Vehiclekeys 2.0 FiveM resource preview 2
    • ESX
    • Standalone, QBCore, Qbox

    Quasar Vehiclekeys

    Quasar Scripts

    $10.00$7.00
  • CodeM mVehicleshop v2 FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    CodeM mVehicleshop v2

    CodeM

    $15.00$10.50
  • Smart Motorways
    • ESX
    • QBCore, Qbox, vRP
    Not for your framework

    London Studios Smart Motorways

    London Studios

    $30.00$21.00