GetPlayerName on Dialog?
#5

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.
Reply


Messages In This Thread
GetPlayerName on Dialog? - by Morten_Guado - 31.03.2013, 19:46
Re: GetPlayerName on Dialog? - by Harti - 31.03.2013, 19:49
Re: GetPlayerName on Dialog? - by Morten_Guado - 31.03.2013, 19:56
Re: GetPlayerName on Dialog? - by Morten_Guado - 31.03.2013, 20:00
Re: GetPlayerName on Dialog? - by Harti - 31.03.2013, 20:01
Re: GetPlayerName on Dialog? - by Windrush - 31.03.2013, 20:02
Re: GetPlayerName on Dialog? - by Morten_Guado - 31.03.2013, 20:11

Forum Jump:


Users browsing this thread: 1 Guest(s)