Function doesn't recognise type

BlitzPlus Forums/BlitzPlus Beginners Area/Function doesn't recognise type

Function PlayerMoveLeft(aPlayer.Player)

	aPlayer\x = aPlayer\x - 1

End Function
This will work with any player, just pass the current player to the function.