My
goal in all this is to protect a person's rank when he switches teams, as well as his score within the server (+showscores thing). In order to protect the person's rank, I have to retrieve the message before it's stored in csstats.dat or whatever that file is, and the only way to do that is to capture the suicide using Fakemeta (as far as I can see).
So, if the person is switching (g_switching[id]), then I return FMRES_SUPERCEDE in order to block the message, and that will stop it from saving to the .dat file. This integer array is what also separates the regular suicides from the team-switching suicides.
//Edit// I also do have a couple bugs in mind that need fixing, but I just wanted to get this part of the plugin finished first.
P.S. Thanks for the help.
__________________