Hide player`s Name on Aim

hey guys, im making a gamemode and i really need to hide or disable the text containing the player`s name and health when you aim at him (like ttt when disguiced).

also i was trying to disable the player`s footsteps but this code isnt working:


function GM:PlayerFootstep( ply, pos, foot, sound, volume, rf )
	if ply:Team() == 1 then return true end
	return false
end

i`ll appreciate any help

el_XAVIER

http://gmodwiki.com/wiki.garrysmod.com/index6cc7.html?title=Gamemode.HUDDrawTargetID
Wiki is useful you know.

[lua]
function GM:HUDDrawTargetID()
return false
end
[/lua]

Also for your footstep disable
[lua]
function GM:PlayerFootstep( ply, pos, foot, sound, volume, rf )
return true
end[/lua]
Again, wiki is useful.

[editline]2nd August 2012[/editline]

god damn I HATE the [lua] tag editing problem.

thank you for the hud problem but the Step Sound code didnt work, i can hear them.

PS: thank you for the wiki page, i was using maurits.tv but this looks better

[lua]
function GM:PlayerFootstep( ply, pos, foot, sound, volume, rf )
if ply:Team() == 1 then
return true
else
return false
end
end
[/lua]

SOLVED IT!!

i was executing the hook in serverside instead of clientside, my bad.