How would i go about making an NPC drop loot related to a players level?

So…i need a little help. I want to make a NPC drop loot related to a players level. So basically i want the NPC to drop higher level gear for higher level players and lower level gear for lower level players. (The NPC will drop the same level of gear as the player). So if 2 players of different levels are fighting a NPC and they kill, the NPC will drop different loot for each player depending on the level of the player.

One good resource for this might be Levelled Lists in Bethesda’s games - I’m sure there’s a good Creation Kit guide for it somewhere that’ll explain the technical ins and outs, but unfortunately Google is turning up blanks for me right now.