1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

Run concommand by keypress

Discussion in 'DarkRP Modding Questions & Help' started by L u c a R e n o, Oct 5, 2019.

  1. L u c a R e n o

    L u c a R e n o New Member

    How do you run a concommand, by a keypress?

    hook.Add( "Think", "radio_key", function()
    if input.IsKeyDown( KEY_ALT ) then
    RunConsoleCommand( "+vehicles_radio_gui" )
    end )

    Have tried this, but doesn't seem to work for me.

Share This Page