02.09.2012, 21:34
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.
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.