public static void ApplyDamagePack(this Ped ped, float damage, float multiplier, DamagePack damagePack) { Function.Call((Hash)5106960513763051839L, new InputArgument[4] { InputArgument.op_Implicit(((Entity)ped).get_Handle()), InputArgument.op_Implicit(damagePack.ToString()), InputArgument.op_Implicit(damage), InputArgument.op_Implicit(multiplier) }); }
public static void ApplyDamagePack(this Ped ped, float damage, float multiplier, DamagePack damagePack) { Function.Call(GTA.Native.Hash.APPLY_PED_DAMAGE_PACK, (InputArgument[])new InputArgument[4] { ped.Handle, damagePack.ToString(), damage, multiplier }); }