Issue with 2 commands [sscanf]
#2

At the first command you use new id;
But you don't set it to the person you want to affect. You just leave it 0.
So playerid 0 will always get affected.
You should use scanff like you did a few lines below:
if(sscanf(params, "u", id))
Something like this. I'm still not sure if everything works now, because the whole cmd looks a bit wierd.
Reply


Messages In This Thread
Issue with 2 commands [sscanf] - by Luke_James - 02.09.2012, 20:45
Re: Issue with 2 commands [sscanf] - by Roel - 02.09.2012, 21:34
Re: Issue with 2 commands [sscanf] - by shamortiy - 02.09.2012, 21:41
Re: Issue with 2 commands [sscanf] - by Luke_James - 02.09.2012, 22:09
Re: Issue with 2 commands [sscanf] - by Luke_James - 02.09.2012, 22:53

Forum Jump:


Users browsing this thread: 1 Guest(s)