[Ajuda] Proнbir symbols
#1

Boa madruga...
Estou com um problema em meu sitema de banco, que й um bug acho que reconhecнvel... Й que o player pode depositar dinheiro 'negativo' no banco, utilizando a tecla " - ".

Eu queria por bloquear esse simbolo no dialog, e tentei desta maneira;


pawn Код:
if(strfind(tmp, "-", true) != -1) // isso nгo deixa usar o -
            {
                SendClientMessage(playerid,-1,"- Valor invбlido!");
                return 1;
            }
Porйm, nгo fui feliz. Se alguйm poder por gentileza ajuda, sou muito grato.
Reply


Messages In This Thread
Proнbir symbols - by Ley - 09.09.2012, 03:38
Re: Proнbir symbols - by Jason` - 09.09.2012, 03:40
Re: Proнbir symbols - by zSuYaNw - 09.09.2012, 03:42
Re: Proнbir symbols - by FeelLikeASir_ - 09.09.2012, 03:45
Re: Proнbir symbols - by zSuYaNw - 09.09.2012, 03:49
Re: Proнbir symbols - by Ley - 09.09.2012, 03:53
Re: Proнbir symbols - by Ley - 09.09.2012, 04:01
Re: Proнbir symbols - by zSuYaNw - 09.09.2012, 04:31

Forum Jump:


Users browsing this thread: 1 Guest(s)