Raised This Month: $ Target: $400
 0% 

No worldspawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
stupok
Veteran Member
Join Date: Feb 2006
Old 12-31-2006 , 21:17   Re: No worldspawn
Reply With Quote #3

But it's wrong. That will revive the user 5.0 seconds after dying.

Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> #define PLUGIN "Revive if Killed in 5 Seconds" #define VERSION "1.0" #define AUTHOR "stupok69" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_logevent("logevent_round_start", 2, "1=Round_Start") } public logevent_round_start() {     set_task(5.0, "revive_function") } public revive_function() {     new players[32], num         get_players(players, num, "bh")         for(new i = 0; i < num; i++)         cs_user_spawn(i) }

Last edited by stupok; 12-31-2006 at 21:23.
stupok 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 22:28.


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