Client

Client Exports

useTracker

Used to trigger the tracker installation process. Typically used in inventory item definition.

exports.mh_gpstracker:useTracker(data, slot)

useRemover

Used to trigger the tracker removal process.

exports.mh_gpstracker:useRemover(data, slot)

useFinder

Used to open the GPS Finder menu.

exports.mh_gpstracker:useFinder()

Client Events

mh_gpstracker:updateBlip

Updates or creates a blip for a tracked vehicle.

  • Parameters: plate (string), coords (vector3), model (hash)

TriggerClientEvent('mh_gpstracker:updateBlip', source, plate, coords, model)

mh_gpstracker:removeBlip

Removes a blip for a specific plate.

  • Parameters: plate (string)

mh_gpstracker:openFinder

Opens the finder menu. Useful if you want to trigger it from a command or another script.

Last updated