View Single Post
ajr1234
Senior Member
Join Date: Mar 2011
Location: Chicago, IL, U.S.A.
Old 06-10-2012 , 21:52   Re: Access SourceMod core?
Reply With Quote #3

Thanks. Makes sense now. Short and simple

Is there an easy way to hook client connect, disconnect, map start, player move, etc? I'm making an extension where certain information is added to a stack every time these actions take place. I would do that in a plugin, but I need an external library to do calculations, and the library isn't opensource so I am not able to make a wrapper.

What does this mean anyway?
SH_DECL_HOOK1_void(IServerGameClients, ClientDisconnect, SH_NOATTRIB, 0, edict_t *);

I know it's a sourcehook, but how would someone know what kind of macro to use? I looked through the extensions forum but I am not sure how people are finding out how to form their hooks.
ajr1234 is offline