hallo leute ich hbae ein scoreboard fehler uns war den hier
[2013-12-11 15:10:18] WARNING: score/playerlist.lua:150: Bad argument @ 'bindKey'
[2013-12-11 15:10:18] score restarted successfully
Lua
function playerlistKeyPressed ( key, state )
if state == "down" then radioUpState = isControlEnabled ( "radio_next" ) radioDownState = isControlEnabled ( "radio_previous" ) weaponUpState = isControlEnabled ( "next_weapon" ) weaponDownState = isControlEnabled ( "previous_weapon" ) toggleControl ( "radio_next", false ) toggleControl ( "radio_previous", false ) toggleControl ( "next_weapon", false ) toggleControl ( "previous_weapon", false ) if isTimer ( playerlistUpdateTimer ) then killTimer ( playerlistUpdateTimer ) end scollBarAdjustTimer = setTimer ( reAdjustplayerlistScollBar, 50, -1 ) bindKey ( "mouse_wheel_up", "down", playerlistScrollUp ) bindKey ( "mouse_wheel_down", "down", playerlistScrollDown ) playerlistshow () dxshow () addEventHandler("onClientRender", getRootElement(), dxshow) else toggleControl ( "radio_next", radioUpState ) toggleControl ( "radio_previous", radioDownState ) toggleControl ( "next_weapon", weaponUpState ) toggleControl ( "previous_weapon", weaponDownState ) killTimer ( scollBarAdjustTimer ) removeEventHandler("onClientRender", getRootElement(), dxshow) unbindKey ( "mouse_wheel_up", "down", playerlistScrollUp ) unbindKey ( "mouse_wheel_down", "down", playerlistScrollDown ) guiSetVisible ( gimage["score"], false ) endendbindKey ( "tab", "both", playerlistKeyPressed )