iv = 0 
  
function toggleInvis( source ) 
    if iv == 0 then 
        iv = 1 
        setPlayerNametagShowing(source, false) 
        setElementAlpha(source, 0) 
        destroyBlipAttachedTo(source) 
    else 
        iv = 0 
        setPlayerNametagShowing(source, true) 
        setElementAlpha(source, 255) 
    end 
end 
  
function destroyBlipAttachedTo(player) 
for id, attachedElement in ipairs(getAttachedElements(player)) do 
if getElementType(attachedElement) == "blip" then 
destroyElement(attachedElement) 
end 
end 
end 
  
addCommandHandler ( "invisible", toggleInvis) 
 
???