[Ajuda] Pegar Random!
#2

Use a variбvel que vocк setou as perguntas randфmicas, que seria "RandomPerguntas" e faзa a seguinte condiзгo.

PHP код:
RandomPerguntas random(sizeof(Perguntas)); 
PHP код:
 if(RandomPerguntas == 0){  format(stringsizeof(string), "%s"Perguntas[0]); SendClientMessage(playerid, -1string);return 1;} 
Segue esse algoritmo. Abraзos.

PS: Declare a variбvel "RandomPerguntas" global.
Reply


Messages In This Thread
Pegar Random! - by SkyneTSAMP - 07.04.2016, 22:11
Re: Pegar Random! - by Coreia - 08.04.2016, 03:42
Re: Pegar Random! - by SkyneTSAMP - 08.04.2016, 12:27

Forum Jump:


Users browsing this thread: 1 Guest(s)