le-compass
Intallation Guide
Place
le-compass
file in yourresources
forderAdd the script to your
server.cfg
Go to the
config.lua
file and setup to your preferencesRestart your server!
Show/Hide Compass
TriggerEvent("le-compass:client:compassUse")
Exports
Start
exports["le-compass"]:CompassStart(Coord, AutoStop, Distance, Notif)
Coord (Vector3) : Where to go
AutoStop (Bool) : If should stop when arrive at destination
Distance (Int) : The distance to calculate the AutoStop
Notif (Bool) : If there is a notification when you arrives
Exemple for /testcity
in the preview
/testcity
in the previewexports["le-compass"]:CompassStart(vector3(-962.74, -1111.31, 2.17), true, 5, true)
Stop
exports["le-compass"]:Stop()
Last updated