JuanM27 Posted June 17, 2012 Posted June 17, 2012 hola buenas noches, estoy queriendo hacer un bindkey con la tecla Mayuscula pero no encuentro el key correspondiente. me fije en la wiki Key_names pero no encuentro cual es la mayuscula si alguien lo sabe por favor me lo dice, muchas gracias
Castillo Posted June 17, 2012 Posted June 17, 2012 Que yo sepa es: "capslock". San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
JuanM27 Posted June 17, 2012 Author Posted June 17, 2012 Hola Solid, la verdad muchas gracias siempre ayudandome. aprovecho para preguntarte por que no me anda el bindkey (en el server-side) lo tengo asi function bin(player) bindKey(player,"capslock", "down", "lsultan") end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), bin) y me sale este warning en debugscript 3 Warning: .....: Bad 'player' pointer @ 'bindKey'(1)
Castillo Posted June 17, 2012 Posted June 17, 2012 "player" no esta definido. Para bindear la tecla tenes que hacer un for-loop con los jugadores online y ahi bindearla. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
JuanM27 Posted June 17, 2012 Author Posted June 17, 2012 muchas gracias Solid lo hice asi function bin() for id, player in ipairs(getElementsByType("player")) do bindKey(player,"capslock", "down", "lsultan") end end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), bin) y funciono perfecto puedes cerrar el tema y muchas gracias de verdad
Castillo Posted June 17, 2012 Posted June 17, 2012 De nada. No hay porque cerrarlo, otro podria tener el mismo problema. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts