How do I pass a type in a function? I need to pass the... errr......player number to my function.
For example my type is pdata.......player number is p.pdata. How do I set it to player 2 (for example) and send that to the function?
function(p) or function(p.pdata) doesn't work.
For example my type is pdata.......player number is p.pdata. How do I set it to player 2 (for example) and send that to the function?
function(p) or function(p.pdata) doesn't work.