I wish I could help you with the MemHack stuff, but I don't know much about it. I have a few suggestions, though:
1.
Code:
if (sTeam = CS_TEAM_T || sTeam = CS_TEAM_CT) {
This code will assign a value to sTeam instead of check it. You should use == instead of =.
2. check_team doesn't do much in the way that you use. It will return a value, but nothing else will happen. You probably want to do something like
Code:
if(!check_team(sTeam)) return 0;
to stop the function if the team is invalid. Also, you'll want to add
to the end of the check_team function.
3. You don't need to redefine team and score as sTeam and sScore at the top of your functions, you can just reference team and score. But maybe you have another reason for doing this.
4. You should be able to start your own listen server to test the plugin if you don't want to test it on your live server.
Best of luck. Cheers!
__________________