Generating Different Information on Each Line of the Dialog
#4

You're overwriting "string" all the time, so it'll only display the last one. Change this:
pawn Код:
format(string, sizeof(string), "[ID:%d] [PosX:%f] [PosY:%f] [PosZ:%f]\n", rows, DS[i][DsLocX], DS[i][DsLocY], DS[i][DsLocZ]);
into this:
pawn Код:
format(string, sizeof(string), "%s[ID:%d] [PosX:%f] [PosY:%f] [PosZ:%f]\n", string, i, DS[i][DsLocX], DS[i][DsLocY], DS[i][DsLocZ]);
Reply


Messages In This Thread
Generating Different Information on Each Line of the Dialog - by Ox1gEN - 14.12.2014, 12:43
Re: Generating Different Information on Each Line of the Dialog - by Lordzy - 14.12.2014, 12:52
Re: Generating Different Information on Each Line of the Dialog - by Ox1gEN - 14.12.2014, 12:57
Re: Generating Different Information on Each Line of the Dialog - by Vince - 14.12.2014, 13:46
Re: Generating Different Information on Each Line of the Dialog - by Ox1gEN - 14.12.2014, 16:00

Forum Jump:


Users browsing this thread: 1 Guest(s)