The Specialists uses the DeathMsg event for death just like other mods. however, in my experience, TS resets a user's rendering properties every PreThink or so, so if you want to keep a user updated you have to reset it every PostThink. ie:
Code:
new shouldglow[33];
public plugin_init() {
register_event("DeathMsg","hook_death","a");
}
public client_putinserver(id) {
shouldglow[id] = 0;
}
public hook_death() {
new killer = read_data(1), victim = read_data(2);
if(killer && killer != victim)
shouldglow[killer] = 1;
shouldglow[victim] = 0;
}
public client_PostThink(id) {
if(shouldglow[id] && is_user_alive(id))
set_user_rendering(id,...);
}
the client_PostThink forward is from the engine module.
__________________
"You can not restrain a fool from speaking, but nothing obliges you to listen."