[Ajuda] Random.
#1

new RandomNumber;

Uso:

pawn Код:
RandomNumber = random(10);

if(text[0] == RandomNumber)
{
     //...
}
Problema: Mesmo digitando o nъmero random, diz que tб errado.

Reply
#2

pawn Код:
if(text[0] == strval(RandomNumber))
#Off: Post nъmero 300
Reply
#3

Claro. Valeu! xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)