View Single Post
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 03-05-2011 , 05:54   Re: Accessing Private Data
Reply With Quote #3

Compiles and works!

Before posting here I was checking out some snippets and I attempted to do what you had explained, but I was using structs. It compiled but it didn't look right at all, and it completely crashed the server.

Thanks for taking the time to explain it.

Quote:
Originally Posted by PM View Post
From here, you're using implementation details of sourcemod, which are not part of the "contract", ie. interface. This code can be broken on updates.
Does this mean the code could be broken on any SourceMod update, or only updates that change the CPlayer class?
GoD-Tony is offline