Where to learn hooks?

Can somone teach me some few examples of hooks? I have understood that they can run a function if somethin happens, but I dont know the syntax for them. Help!

hook.Add(“event”,“unique_name”,func) --“unique_name” can be anything like “hubbabubba” or “DeRp_z0r”
Yeah like you said func will get called when the event occurs.

Here’s a list of valid events.

So if I want to use the touch functio for a SENT, I write


No you can’t hook onto SENT event, you can only use the ones in the link I posted.


:devil: == :eng101: