That was useless, lol.
What doesn't work? Do /debugscript 3 and tell us your errors. Help us to help you!
meta.xml
<meta>
<script src="c.lua" type="client/>
</meta>
c.lua
outputChatBox("No-TbGes|x[Dev-PoinT]x",255,255,0)
function stopMinigunDamage( attacker, weapon, bodypart )
if source === getLocalPlayer() then return end
if ( weapon == 0 ) then
outputChatBox("Dontkill with Fist!!",0,255,0)
cancelEvent()
end
end
addEventHandler ( "onClientPlayerDamage", root, stopMinigunDamage)