Hook not working right

On my ttt server the TTTEndRound function is not adding a value to the arguments
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
	iwin = iwin + 1

end )

please help.

From the wiki:

So that will work, but only serverside

Thanks for the help