If you want to revive peds, maybe try using
Function.Call("REVIVE_INJURED_PED", ped);
ped.Health(100);
ped.ForceRagdoll(600, true);
Function.Call("SWITCH_PED_TO_ANIMATED", ped, True);
animation tutorial - http://gtaxscripting.blogspot.com/2013/06/tut-animations.html
hope that helps...