29.09.2018, 07:35
First you need to use sscanf, verify the targetid is connected and then get the name.
If you get the name before the sscanf line, targetid is 0 by default.
If you get the name before the sscanf line, targetid is 0 by default.