Hello, I want the player to go to the waypoint blip position, but when I want to set entity coordinate, I don’t know what to put for z
My code
RegisterCommand("tpw", async (source) => {
const blip = GetFirstBlipInfoId(8);
const coord = GetBlipCoords(blip);
const blipX = coord.x;
const blipY = coord.y;
const blipZ = ?;
SetEntityCoords(GetPlayerPed(-1), blipX, blipY, blipZ, true, false, false, false);
})