When a sim dies, the reaper will show up on your lot. The best method I've found is to talk to him while he's there then chat with him on the computer until you become friends. It's more efficient than killing off multiple sims just to chat with him a small amount at a time.