Raised This Month: $51 Target: $400
 12% 

Proper way to respawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ricky
Senior Member
Join Date: Jul 2005
Old 03-26-2008 , 16:10   Proper way to respawn
Reply With Quote #1

There's many plugins that do this but the only one I find flawless is in csdm. So
what's the proper way to respawn a person off deathmsg?
Ricky is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-26-2008 , 17:17   Re: Proper way to respawn
Reply With Quote #2

Using Hamsandwich, if I understand well your question.
__________________
Arkshine is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-26-2008 , 17:18   Re: Proper way to respawn
Reply With Quote #3

Code:
#include <amxmodx> #include <hamsandwich> public plugin_init() {     RegisterHam(Ham_Killed, "player", "fwd_Ham_Killed_post", 1); } public fwd_Ham_Killed_post(id, attacker, shouldgib) {     if(is_user_connected(id))     {         set_task(0.2, "task_RespawnPlayer", id);     }     return HAM_IGNORED; } public task_RespawnPlayer(id) {     if(!is_user_alive(id))     {         ExecuteHam(Ham_CS_RoundRespawn, id);     } }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply



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 11:19.


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