Maker Realm
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Auto Attack Por CheckBox

Ir para baixo

Auto Attack Por CheckBox Empty Auto Attack Por CheckBox

Mensagem  MysticoDark Sáb Jan 07, 2012 3:40 pm

Abra o Client~Side e na frmMain crie 1 checkbox com:

Código:
Name: chkAtk
Caption: Auto Attack

dps procure na modgameLogic por:

Código:
 If CanMoveNow Then
                Call CheckMovement ' Check if player is trying to move
                Call CheckAttack  ' Check to see if player is trying to attack
            End If

e mude para:

Código:
  If CanMoveNow Then
                If frmMain.chkAtk.Value = YES Then
                    ControlDown = True
                End If
               
                Call CheckMovement ' Check if player is trying to move
                Call CheckAttack  ' Check to see if player is trying to attack
            End If

Créditos: By Thales12 por fazer o sistema e tutorial.
MysticoDark
MysticoDark
Membro Junior
Membro Junior

Mensagens : 10
Colaboração : 5
Data de inscrição : 07/01/2012

Ir para o topo Ir para baixo

Ir para o topo


 
Permissões neste sub-fórum
Não podes responder a tópicos