Yeah, timelines lack of parameter passing functionality.
I think on something like this:
function 1 = arg0, arg1, arg2
Then in functions, you can use
argument 0, argument 1 or arg 0, arg 1 etc. Similar of how scripts on GML works.
So, in the function
if arg 0 > 10
{
<player 1>You win!
}