Raised This Month: $ Target: $400
 0% 

Player respawn event


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Votorx
Senior Member
Join Date: Jun 2004
Old 08-31-2004 , 13:55  
Reply With Quote #3

You can try this, it works almost perfectly for when the round restarts:

Code:
register_event("RoundTime", "new_round", "bc") public new_round() {     if ( floatround(get_cvar_float("mp_roundtime") * 60.0) != read_data(1) ) return PLUGIN_CONTINUE     //Put the code you want to happen at a new round }

But that's for a new round. It seems like you want to call an event every time a person dies, respawn them and protect them for a certain amount of time, if this is the case then you should use

Code:
register_event("DeathMsg","Function", "a")
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
 



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 17:17.


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