14.12.2014, 13:46
You're overwriting "string" all the time, so it'll only display the last one. Change this:
into 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]);
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]);