09.01.2015, 17:34
It's because you're getting the name of player "id" before you extracted the value from sscanf.
Move both GetPlayerName statements below sscanf.
Since "id" doesn't have a value yet, it remains 0, so you're always getting the name of playerid 0, not the one you put behind your command.
Move both GetPlayerName statements below sscanf.
Since "id" doesn't have a value yet, it remains 0, so you're always getting the name of playerid 0, not the one you put behind your command.