Hey thanks so much.
Sorry, im just quite new at this so i havent got it all down yet

.
EDIT: Ugh now it crashes:
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
#define PLUGIN "AutoSpawn"
#define VERSION "1.0"
#define AUTHOR "Smarttart62"
public plugin_init(){
register_plugin(PLUGIN, VERSION, AUTHOR);
register_cvar("amx_autospawn","1");
register_event("DeathMsg","spawnMe","a");
}
public spawnMe(){
if (get_cvar_num("amx_autospawn")!=1){
return PLUGIN_HANDLED;
}
new player;
player=read_data(2);
spawn(player);
set_task(0.5,"respawn",player);
return PLUGIN_CONTINUE;
}
public respawn(id){
spawn(id);
}
ERROR: SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Reliable Datagram.
-Steve