DrawMaterialOverlay on ttt

Hello.

I used DrawMaterialOverlay( “effects/invuln_overlay_red”, 0.5 ) on my local server, and it perfectly works, instead in my ttt server, I only see error.
Why?

Could you post the code (I mean, if you’re running this in a HUDPaint hook or something)? Also, what’s the error?



function afunction()
	DrawMaterialOverlay( "effects/invuln_overlay_red", 1 )
end
hook.Add("RenderScreenspaceEffects", "example", afunction)


Simply all the screen become an error.
http://images.akamai.steamusercontent.com/ugc/395553315328270704/5182552889AF62A2AE66B8C79CD41D1FF66B03AD/

Your server looks like it does not have the texture.

It seems like TF2 isn’t mounted

Server doesn’t even need the texture, the code is completely clientside, you are showing it ON THE CLIENT’s SCREEN. The code should work as long as THE CLIENT has the texture AND the code is ran clientside.

Ok, then why into my server I see it but into another ttt server I only see error?

[editline]30th July 2016[/editline]

Can you explain me how to mount tf2?
Thank you!

Anyone?

Unless I’m mistaken