• input.IsKeyDown Problem ......
    0 replies, posted
this bug is korean language keyboard doesn't work! my last post is [url]http://facepunch.com/showthread.php?t=1405215[/url] why this bug not fixing? this bug is really shitshitshitshitshitshstihtihst hhh pls pls fix this :) [media]http://www.youtube.com/watch?v=mPJwqzhxttg[/media] source [lua] local KEYTAB_CAST = {KEY_Q, KEY_E, KEY_R, KEY_T} Pressed = Pressed or {} hook.Add("Move", "Cast", function() for index, key in pairs(KEYTAB_CAST) do if client:IsTyping() then continue end if input.IsKeyDown(key) and !Pressed[key] then print(key) netstream.Start("sv_CastStart", index) Pressed[key] = true elseif input.WasKeyReleased(key) and Pressed[key] then netstream.Start("sv_CastFinish", index) Pressed[key] = false end end end) [/lua] i love you developer [editline]11th July 2014[/editline] oh! input.IsMouseDown is korean keyboards working!!
Sorry, you need to Log In to post a reply to this thread.