Raised This Month: $ Target: $400
 0% 

Respawn hook player death


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
zwfgdlc
Senior Member
Join Date: May 2006
Old 07-14-2008 , 22:01   Re: Respawn hook player death
Reply With Quote #2

Code:
public plugin_init() {     register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);     register_event("DeathMsg ", "hook_death", "a") } public hook_death() {     victim=read_data(2);     set_task(5.0, "respawn",victim); } public respawn(id) {     spawn(id) }

Last edited by zwfgdlc; 07-14-2008 at 23:30.
zwfgdlc 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 05:33.


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