[HELP]restoring loadout after player revive

hi
i use esx_ambulancejob and esx_policejob.
when player is dead if he gets confiscated by a police after reviving him he will still have weapons taken from him . i used ESX.saveplayer in confiscating script , it saves the loadout .
but problem is that i dont know how to restore loadout after reviving him .
i can clear all his loadout but i can’t get the new loadout

anyone pls ? !?!? ?!