local stats = {73, 75, 71, 77, 78}
for _, stat in ipairs(stats) do
setPedStat(source, stat, 1000)
end
This is why, stat ID 73 is "73: WEAPONTYPE_SAWNOFF_SHOTGUN_SKILL"
You are setting player's skill to "pro" by, but in the code below you are only changing weapon property at "poor".
Simple fix is to include the following line in the code:
setWeaponProperty(26, "pro", "damage", 30)
Also, weapon properties don't need to be set again on every spawn.