Help to add thing to script

Hello I found this script: FiveM Teleportation Menu and need to add:
This script doesn’t support teleportation while I’am in vehicle.
But i need teleport while I’am in vehicle, can some one fix it???

Hello. What script are you talking about?

sorry i forgot add link

Replace line 82 and line 88 with the below:

SetPedCoordsKeepVehicle(ped, coords.x, coords.y, coords.z)