Already tried that before still shows no line
function gfx(arg,posX,posY,posZ)
if #arg > 0 then
id = tonumber(arg)
result, ped = sampGetCharHandleBySampPlayerId(id)
if result then
myX, myY, myZ = getCharCoordinates(ped)
local pedX, pedY = convert3DCoordsToScreen(posX,posY,posZ)...