Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
public plugin_init()
{
register_plugin("Respawn","1.0","Johnjg75")
register_concmd("amx_respawn","dorespawn",ADMIN_SLAY," <player> - Respawns a player")
}
public dorespawn(id)
{
new pplayer[33]
read_argv(1,pplayer, 32)
new iindex = get_user_index( pplayer )
if(!is_user_alive( iindex ))
spawn(iindex)
return PLUGIN_HANDLED
}
Not sure if it works but you can try it
__________________