[Ajuda] Ajuda Muniзгo!
#5

Agora entendi. Vocк quer por um limite, й isso?

Estruturas de controle.

https://sampforum.blast.hk/showthread.php?tid=484621

Fica algo do tipo

PHP код:
new municao strval(inputtext); // converte string para int
if(municao 120)
{
    
// digitou + que 120, faзa algo
    
municao 120// Nгo deixar passar de 120?

Operaзхes ternбrias: https://sampforum.blast.hk/showthread.php?tid=335491

PHP код:
// seta valor para 120 se o valor digitado for > que 120
new municao strval(inputtext) > 120 120 strval(inputtext); 
Reply


Messages In This Thread
Ajuda Muniзгo! - by JhowWatkins - 25.08.2016, 02:41
Re: Ajuda Muniзгo! - by JhowWatkins - 25.08.2016, 10:44
Re: Ajuda Muniзгo! - by F1N4L - 25.08.2016, 11:16
Re: Ajuda Muniзгo! - by JhowWatkins - 25.08.2016, 11:26
Re: Ajuda Muniзгo! - by arakuta - 25.08.2016, 14:14
Re: Ajuda Muniзгo! - by JhowWatkins - 25.08.2016, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)