local theBlip = createBlip(0, 0, 4, 2, 255, 255, 255, 255)
function removeBlip(posX, posY, posZ)
for _,blip in ipairs(getElementsByType("blip")) do
local x,y,z = getElementPosition(blip)
if(posX == x and posY == y and posZ == z) then
destroyElement(blip)
end
end
end
removeBlip(0, 0, 4)