 |
|
Veteran Member
Join Date: Oct 2013
Location: Serbia
|

12-10-2014
, 00:10
Re: Problem wyth respawn plugin
|
#10
|
Quote:
Originally Posted by zmd94
If you want the auto respawn plugin, maybe this will be more simpler:
PHP Code:
#include <amxmodx> #include <hamsandwich>
public plugin_init() { register_plugin("Auto Respawn", "1.0", "zmd94") RegisterHam(Ham_Killed, "player", "Ham_Killed_Post", 1) }
public Ham_Killed_Post(victim, attacker, shouldgib) { set_task(5.0, "iRespawn", victim) } public iRespawn(id) { ExecuteHamB(Ham_CS_RoundRespawn, id) }
Just add the countdown if you needed. ;)
|
No.I need this one.
Will try this:
PHP Code:
if(!is_user_connected(id)) return PLUGIN_HANDLED
PHP Code:
if(is_user_connected(id))
|
|
|
|