1 Correção do excesso de gold Sex 04 Jan 2013, 16:26
Halt
Administrador
Valentine escreveu:Isto irá corrigir o menu moeda de causar um estouro quando vai acima de um valor da variável long.
Cliente:
Vá até frmMain e em lblCurrencyOk_Click abaixo de
Em seguida, acrescentar:
- Código:
If IsNumeric (txtCurrency.text)
- Código:
If Val(txtCurrency.text) > GetPlayerInvItemValue(MyIndex, tmpCurrencyItem) Then txtCurrency.text = GetPlayerInvItemValue(MyIndex, tmpCurrencyItem)
Créditos:
Helladen