Raised This Month: $ Target: $400
 0% 

No worldspawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Imanoobie
BANNED
Join Date: Sep 2006
Old 01-01-2007 , 07:51   Re: No worldspawn
Reply With Quote #6

Quote:
Originally Posted by stupok69 View Post
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) }
This sure works but...what if the player TKed the round before?
Then he will get no punishment o_O
Imanoobie 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