31.03.2013, 20:01
You will learn more when you try it yourself, syntax etc. is on the wiki.
But I will tell you what's wrong with your code. You are looping through all players like you should (foreach from YSI would be a better choice btw.) but then you re-format the string.
So basically it gets all names like it should but it overrides them the whole time.
strcat concatenates both strings in one.
But I will tell you what's wrong with your code. You are looping through all players like you should (foreach from YSI would be a better choice btw.) but then you re-format the string.
So basically it gets all names like it should but it overrides them the whole time.
strcat concatenates both strings in one.