registerOutputEvent("Player", "SetWeapon", TAB "datablock itemData");
You can't. Also, your parameter list to the event is invalid.
Ok, but still. There is no way to basically exclude certain items from the weapon list in the setWeapon output?