just testing myself
what's wrong with this
addEventHandler ("onClientPlayerWeaponFire", root,
function onClientPlayerWeaponFireFunc(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement )
if weapon == 38 and getElementType(hitElement)=="Vehicle" then
outputChatBox ( "You are now shooting a car", 255, 0, 0 )
end
end
)