Hello, I need someone to find why does my script doesn’t work :
local blipid = 8local blip = GetFirstBlipInfoId(blipid)local coord = Citizen.InvokeNative(0xFA7C7F0AADF25D09, blip, Citizen.ResultAsVector())local coordZ = Citizen.InvokeNative(0xC906A7DAB05C8D2B,coord.x,coord.y,100.0,Citizen.PointerValueFloat(),0)TriggerEvent('chatMessage', 'SYSTEM', {255, 0, 0}, "z:"..coordZ)local pos = {x=coord.x, y=coord.y, z=coordZ}TriggerEvent('chatMessage', 'SYSTEM', {255, 0, 0}, "x:"..pos.x.." y:"..pos.y.." z:"..pos.z)
So it should teleport the player to any marker on the map using pos received. I can"t find why it’s not teleporting me.
Thanks.