[Ajuda] patente
#1

que sinal eu deveria usar para ficar tipo, certinho se tem 1000 a 1999 й soldado .. etc

if(PlayerInfo[x][Kills] < 0) Patente = "Novato";
if(PlayerInfo[x][Kills] < 1000) Patente = "Soldado";
Reply
#2

Exemplo:

Код:
new Patente[64];

if(PlayerInfo[x][Kills] < 0) { Patente = "Novato"; }
else if(PlayerInfo[x][Kills] < 1000) { Patente = "Soldado"; }
Reply
#3

Faзa como neste exemplo :


pawn Код:
if(x >= 0 && x <= 9)
{
    print("x й igual a 0, 1, 2, 3, 4, 5, 6, 7, 8 ou 9.");
}


Considerando x como uma variбvel para nъmeros inteiros.



Espero ter ajudado .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)