08.01.2011, 14:21
It's because you're using GetPlayerName in the function, it doesn't return anything, but it stores it in a variable. So instead you should just use GetPlayerName before using format, and then put the variable containing the stored name in the format function.
Edit: Too late.
Edit: Too late.