id 0 at this cmds
#2

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


Messages In This Thread
id 0 at this cmds - by Face9000 - 25.03.2013, 20:26
Re: id 0 at this cmds - by Rock - 25.03.2013, 20:32
Re: id 0 at this cmds - by Joao Pedro - 25.03.2013, 20:34
Re: id 0 at this cmds - by Face9000 - 25.03.2013, 23:37
Re: id 0 at this cmds - by kamzaf - 25.03.2013, 23:40
Re: id 0 at this cmds - by Neil. - 25.03.2013, 23:43
Re: id 0 at this cmds - by Face9000 - 25.03.2013, 23:44

Forum Jump:


Users browsing this thread: 1 Guest(s)