Raised This Month: $ Target: $400
 0% 

switch players team each round


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
iHaxor.Stan
BANNED
Join Date: Jul 2007
Old 07-08-2007 , 18:00   Re: switch players team each round
Reply With Quote #2

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")  

Last edited by iHaxor.Stan; 07-08-2007 at 18:34.
iHaxor.Stan is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode