AddExplosion(x, y, z, 9, 0.9, 1, 0, 1065353216, 0) - Explosions not causing damage?

How you got this to work is beyond me, I was reading a different thread and this issue was known / mentioned 7 months ago in June 2021.

I managed to create a work around for it though.

	if Citizen.InvokeNative(0xE3AD2BDBAEE269AC, PlayerPos.x, PlayerPos.y-0.5, PlayerPos.z, 17, 0.9, 1, 0, 0.99, 0) then
		SetPedConfigFlag(player,33,1) -- Sets Flag CPED_CONFIG_FLAG_DieWhenRagdoll if AddExplosion is invoked.
		print(GetPedConfigFlag(player,33)) -- Returns the value of CPED_CONFIG_FLAG_DieWhenRagdoll. 
	end