[Ajuda] Ranking BUGADO
#6

Код:
for(new a=0; a<MAX_PLAYERS; a++) {
	if(IsPlayerConnected(a)) {
		new str[100];
		format(str, 100, "ID DO JOGADOR ATUAL: %d", a);
		print(str);
	}
}
Um exemplo idiota. Fiz um looping em todos os jogadores online e a cada vez que esse looping passar vai mostrar uma mensagem no console escrita: ID DO JOGADOR ATUAL: ID do jogador

Se tiver, por exemplo, 3 jogadores online o resultado serб:

ID DO JOGADOR ATUAL: 0
ID DO JOGADOR ATUAL: 1
ID DO JOGADOR ATUAL: 2

Com isso mais o tutorial que postaram й o suficiente para vocк fazer o que quer. Mais que isso sу te dando o cуdigo pronto.
Reply


Messages In This Thread
Ranking BUGADO - by Tiger157000 - 29.04.2015, 22:16
Re: Ranking BUGADO - by Whoo - 29.04.2015, 22:18
Re: Ranking BUGADO - by Tiger157000 - 29.04.2015, 22:53
Re: Ranking BUGADO - by matheusspohr - 30.04.2015, 00:55
Re: Ranking BUGADO - by Tiger157000 - 30.04.2015, 16:17
Re: Ranking BUGADO - by Kamper - 30.04.2015, 16:29
Re: Ranking BUGADO - by Tiger157000 - 01.05.2015, 01:45
Re: Ranking BUGADO - by Tiger157000 - 01.05.2015, 10:50

Forum Jump:


Users browsing this thread: 1 Guest(s)