Thank jrog, this script is working for me as intended. Loggers bodies disappear and killed players bodies stay. Well done.
I am, however, receiving this error in the server rpt file:
4:41:11 Error in expression <tHandler;
missionNamespace setVariable[_uid,nil];
4:41:11 Error position: <_uid,nil];
4:41:11 Error Undefined variable in expression: _uid
4:41:11 File mpmissions\__cur_mp.Altis\server\init.sqf, line 26
Although this doesn't appear to be effecting the outcome of the script I'm worried the error could have implications down the line.
Cheers.