Formating error
#1

Hey guys. :

I haven't used pawno for a long time, so, I forgot a bit and need help on this.

This isn't due a specific error, but about the correct using of this way.

Look:

Code:
new String[500][500];

new FlightPlace[3] =
{
	"a",
	"b",
	"c",
	"b"
};
new FlightHours[25] =
{
	0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
};
Now the line which I removed and the error dissapeared:

Code:
format(String[0], 128, "%s - %d hours", random(FlightPlace), random(FlightHours))
I've tried many ways of representing these random the text on the Format.

Hope you, guys, may help me.
Reply


Messages In This Thread
Formating error - by Feastahashi - 03.12.2012, 11:54
Re: Formating error - by LarzI - 03.12.2012, 11:56
Re: Formating error - by Azazelo - 03.12.2012, 11:59
Re: Formating error - by Feastahashi - 03.12.2012, 12:20
Re: Formating error - by Feastahashi - 03.12.2012, 13:50
Re: Formating error - by LarzI - 03.12.2012, 17:42

Forum Jump:


Users browsing this thread: 1 Guest(s)