A
Anonymous
Invitado
bueno lo k kiero hacer es lo siguiente en vez d k tire magias solos con un time tederminado (F7) kiero k el personaje tire una magia al apretar la H
yo hice lo siguiente pero me saca al usarlo x k no c como seterarle un tiempo entre magia y magia y me saca x usar macros .
este es el codigo k yo puse no fue otra cosa k copiar lo k hacia el boton d lanzar
Case vbKeyH:
If hlst.List(hlst.listIndex) "(None)" And UserCanAttack = 1 Then
Call SendData("LH" & hlst.listIndex + 1)
Call SendData("UK" & Magia)
UsaMacro = True
'UserCanAttack = 0
End If
esto lo escribi en el MAIN en la parte dnd tan todas las Keypress diganme k deberia agregarle
yo hice lo siguiente pero me saca al usarlo x k no c como seterarle un tiempo entre magia y magia y me saca x usar macros .
este es el codigo k yo puse no fue otra cosa k copiar lo k hacia el boton d lanzar
Case vbKeyH:
If hlst.List(hlst.listIndex) "(None)" And UserCanAttack = 1 Then
Call SendData("LH" & hlst.listIndex + 1)
Call SendData("UK" & Magia)
UsaMacro = True
'UserCanAttack = 0
End If
esto lo escribi en el MAIN en la parte dnd tan todas las Keypress diganme k deberia agregarle