I need to recreate this script from GTA5 to FiveM script

Hello, i found this script: SetPoint - Quickly Set A Teleporting Point - GTA5-Mods.com but it works only in gta5 not in fivem. Can someone recreate it to fivem please???

( i can give you counter strike skins for help :wink: :wink: ) {my steam inventory value is 3.20€}

Something like this?

Or something like this?

I’ll look at it for free :smiley:

Does it need to save the TP locations in a database? Like permanent, or just in a single session? :smiley:

just in single session (and thanks)

Allright, just a moment

Here u go

Wow, it works pretty good, but when iam in vehicle, then when iam teleport the vehicle is deleted (can you fix it) ???

Try now, just changed it, but it is not tested!

yeah it works, thanks you very much