Raised This Month: $ Target: $400
 0% 

Respawn plugin edit


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SonicSonedit
Veteran Member
Join Date: Nov 2008
Location: Silent Hill
Old 05-12-2011 , 09:11   Re: Respawn plugin edit
Reply With Quote #2

In public on_Death replace spawn_func with client_print(id, print_chat, "You have X more seconds to press any key or you will be moved to spectators.") and also add function "move_to_spectator" that will move him to spectators and call it via set_task (in public on_Death). Then, hook cmd_start with fakemeta, and if player team is not spectacor and not unassigned, then respawn him and remove "move_to_spectator" task.
__________________

SonicSonedit 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 04:21.


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