Hook not working right

On my ttt server the TTTEndRound function is not adding a value to the arguments
[LUA]
local iwin = 0
local twin = 0

hook.Add(“TTTEndRound”, “SomeNameThatIDontWantToThinkOf”, function( result )
print( result ) – this is a nil vaule but…^^^^^^

if result == WIN_TRAITOR then
	twin = twin + 1
else
	iwin = iwin + 1
end

end )
[/LUA]

please help.

From the wiki:

So that will work, but only serverside

Thanks for the help