local show = false
function st_op()
if ( getElementDimension(localPlayer) == 15 ) and ( getElementInterior(localPlayer) == 0 ) then
if show == false then
addEventHandler ( "onClientRender", getRootElement(), drawSelectedBlockTBAR )
addEventHandler ( "onClientRender", getRootElement(), drawMcLogoForPlayer )
show = true
end
else
if show == true then
removeEventHandler ( "onClientRender", getRootElement(), drawSelectedBlockTBAR )
removeEventHandler ( "onClientRender", getRootElement(), drawMcLogoForPlayer )
show = false
end
end
end
addEventHandler ( "onClientRender", getRootElement(), st_op )