Try this:
if getElementData(player, "Classicon") and fileExists ( getElementData(player, "Classicon") ) then
outputChatBox("I'm in !!") --It will flood your chatbox so remove it once you checked
dxDrawImage ( sx - math.max(nameWidth/2, teamWidth/2) - imageSize - 1*scale, sy - imageSize, imageSize, imageSize, getElementData(player, "Classicon") )
dxDrawImage ( sx + math.max(nameWidth/2, teamWidth/2) + 1*scale, sy - imageSize, imageSize, imageSize, getElementData(player, "Classicon") )
end
If it doesn't work, then post the part where you set "Classicon" element data.