25.03.2013, 20:32
Because GetPlayerName it's initialized before sscanf.
First you need to initialize sscanf to assign a value(playerid in your case) to variable Target.
After that use GetPlayerName.
That's the reason Target always return id 0.
First you need to initialize sscanf to assign a value(playerid in your case) to variable Target.
After that use GetPlayerName.
That's the reason Target always return id 0.