Vehicle command dont work
#2

Hello there!
You need to replace this line:
pawn Код:
Format(string, "%d - %d \n", Count, CarData[v][CarModel]);
to something like this:
pawn Код:
format(string, "%s%d - %d \n", string, Count, CarData[v][CarModel]);
Before, it was always replacing the contents of 'string', meaning it would always display the last line. The above suggestion should retain the data previous stored into the variable.

Hope that helps!
Reply


Messages In This Thread
Vehicle command dont work - by Unknown123 - 16.06.2011, 21:15
Re: Vehicle command dont work - by Benjo - 16.06.2011, 22:11
Re: Vehicle command dont work - by Unknown123 - 16.06.2011, 22:18

Forum Jump:


Users browsing this thread: 1 Guest(s)