Jump to content

Keybind problem!


haraba

Recommended Posts

Posted

So hey guys, i am currently trying to edit tele_manager and i just cant seem to bind it from /tele to pressing ''f2''

addCommandHandler bindKey("F2", "down", "tele")

is what i've written as command, but when im ingame it doesnt work..

Posted

Hello Haraba,

Basically it should be like that:

--Server side

addCommandHandler("tele", 
function(thePlayer,cmd) 
--[[Your code]] 
end) 
bindKey("F2", "down", "tele")  

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...