Params in payable function

Guys …I verify that a payable function (solidity) doesn’t accept parameter as in a “normal” function … I can’t do like this: functionname (uint256 cod) payable external {}

but can I pass parameter to it through web3? if so, how do I get these parameters? with

this is how you to this

Thanks Ivan. I rushed here… many hours programming lol.