With fakemeta this will probably be very easy. Hook the spawn function itself, and there you go. Maybe you want to hook the post one, and so the forward will be called right after a player has spawned (before is probably not a good idea). In the forward function check if entity is 1 <=> maxplayers, and then set him to godmode for a few secs... and maybe a settask to ungodmode back in 5 secs... I just guess DoD also uses the Spawn function to respawn players.