oh, and I also need to know how you can check to see if a player is T or CT.
for example (this isn't what I'm coding): Let's say I wanted T's to all have 200 HP.
I know about making the cvar, and having the HP set to the cvar, and how to do that. But how would I make it so that it only happens for T's / CT's ?
Hope someone can help with these questions.
EDIT: Alrighty here, through searching a bit more, I found:
Code:
register_logevent("logevent_round_end", 2, "1=Round_End")
So that's how you check to see if the round is ended, eh?
If so, I know just need to know how to switch the players to the other teams at this round end.
If anybody would be willing to make a little tiny script for me, like a whole plugin, but just really basic and simple, using these features, I'd be sure to give you ++karma and many credits in my new plugin
oh and also, what module is required for this:
Code:
register_logevent("logevent_round_end", 2, "1=Round_End")