07.07.2011, 08:27
Quote:
If not added
pawn Код:
else ![]() |
For dialogs lists you want to use strcat which will concatenate two strings together. The goal is to loop through your array of races (race name strings rather) and concatenate them all together (making sure a "\n" is added to the end, so it doesnt for a sentence like "Race1Race2Race3", but makes a list).
The wiki artcile i linked you to shows a static implementation of it, but the dynamic implementation is pretty much the same (expect its inside a loop, and uses arrays).