[Ajuda] Arrays, Strings e Dialogs
#3

Entendi @arakuta

porйm surge um novo problema...

@serverlog
Код:
[10:56:56] Bravura	50.000$

[10:56:56] Bravura	50.000$
Sentinel	50.000$

[10:56:56] Bravura	50.000$
Sentinel	50.000$
Manana	50.000$

[10:56:56] Bravura	50.000$
Sentinel	50.000$
Manana	50.000$
Premier	50.000$
repetiзгo! na dialog ele faz o loop repetir... ficando:
Код:
Bravura	50.000$
Sentinel	50.000$
Manana	50.000$
Premier	50.000$
Bravura	50.000$
Sentinel	50.000$
Manana	50.000$
Premier	50.000$
Penso que o motivo disso й porque o loop faz:
array[0]

array[0]
array[1]
...
atй a array[4]

Код:
stock GetCarroModelSedan()
{
	static Giant[800];
	for(new i = 0; i < sizeof(CarrosNomesSedan); i++)
	{
		strcat(Giant, CarrosNomesSedan[i], 800);
		printf("%s", Giant);
	}
	return Giant;
}
Como resolvo isso?
Reply


Messages In This Thread
Arrays, Strings e Dialogs - by Minerva - 27.04.2018, 04:16
Re: Arrays, Strings e Dialogs - by arakuta - 27.04.2018, 12:20
Re: Arrays, Strings e Dialogs - by Minerva - 27.04.2018, 14:00
Re: Arrays, Strings e Dialogs - by arakuta - 27.04.2018, 18:02
Re: Arrays, Strings e Dialogs - by Minerva - 27.04.2018, 20:18
Re: Arrays, Strings e Dialogs - by [BOPE]Seu._.Madruga - 28.04.2018, 02:43
Re: Arrays, Strings e Dialogs - by Minerva - 28.04.2018, 20:37

Forum Jump:


Users browsing this thread: 1 Guest(s)