string problem
#5

Quote:
Originally Posted by Stinged
Посмотреть сообщение
The problem is you're creating the variable 'para1', getting the name that para1 has, and then using sscanf.
So 'para1' will always be 0 before you use sscanf, so GetPlayerName(para1, ..) means GetPlayerName(0, ..)



What?
I see. Thank you. I got the name of para1 after using sscanf, thanks for the useful tip.
Reply


Messages In This Thread
string problem - by JXF - 20.06.2016, 17:35
Re: string problem - by CarRamper - 20.06.2016, 17:38
Re: string problem - by CarRamper - 20.06.2016, 17:40
Re: string problem - by Stinged - 20.06.2016, 17:46
Re: string problem - by JXF - 20.06.2016, 17:52

Forum Jump:


Users browsing this thread: 1 Guest(s)