• Why does ist give me that error Message?
    1 replies, posted
Hello, sorry for asking so much xd AddCSLuaFile("TestKeyPress.lua") hook.Add( "KeyPress", "keypress_use_hi", function( ply, key ) if ( key == IN_USE ) then Player:Kill() end end ) https://files.facepunch.com/forum/upload/305674/d2d65985-40a1-4cbb-9a9a-c6367cf9169e/Screenshot_19.png thx for help
hook.Add("KeyPress", "ilikepotatoes", function(ply, key) if (key == IN_USE) then ply:Kill() end end) I remade it like that and it works fine. Also, don't make a seperate thread for everything. Just reply to a old one.
Sorry, you need to Log In to post a reply to this thread.