types - passing as parameter in function

Blitz3D Forums/Blitz3D Beginners Area/types - passing as parameter in function

if you want to pass the type then do

function start_timer( p.yourtype ) ; p is acting as a pointer and is declared as yourtype
p\gearchange_timer = Millisecs()
end function

call it with
start_timer( player(1) )