function fanFunction()
bindKey (source,"x","down",
function(player,key,state)
outputChatBox (getPlayerName (player) .. "test",getRootElement(),255,255,0,true)
end
)
end
addEventHandler ("onPlayerLogin",getRootElement(),fanFunction)
not working with me