[Help] Lost control when hit


Hi there. How to set ped “out of control” for some time? When get shot at body/hands while walking or shot while drive vehicle? I Found

	 function Global.SetVehicleOutOfControl(vehicle, killDriver, explodeOnImpact)
		 return _in(0xF19D095E42D430CC, vehicle, killDriver, explodeOnImpact)

but this function wont work correctly, just killing if killDriver == true

Like this mod