So I know you can trigger functions with umsg but what if I want to trigger a function and send it specific variables like a certain entity or a vector?
Yeah, sending data is pretty much what usermessages are made for.
[url]http://wiki.garrysmod.com/?title=User_Messages[/url]