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) }